[Cuis-dev] Locale Plugin and Gettext package

David T. Lewis lewis at mail.msen.com
Sat Oct 30 17:30:43 PDT 2021


Hello Hilaire,

For information - GetText is still being used and maintained
in the latest Squeak trunk development image. I asked about it
on the Squeak list and received this reply from Marcel Taeumel:

  http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-October/216852.html

I have not seen any other discussions of GetText on the Squeak
list in a long time, but maybe that it is because it just works.

I am not an expert in this topic, so I do not know if this is helpful.

Dave

On Fri, Oct 29, 2021 at 11:51:19AM +0200, Hilaire Fernandes via Cuis-dev wrote:
> Hello,
> 
> A while ago, more than 10 years. I ported to Pharo the original 
> Gettext[1] package developed by the Etoys team[2], to use it with DrGeo. 
> Gettext is a system to translate the string in an image. It is 
> originally a C library. There is then a whole ecosystem to manage the 
> translation of the application[3]. The translations are done per domain 
> correlated with class category in Smalltalk. So you can manage 
> translation with different .po files per class category. It is a very 
> valuable addition when you are targeting end user, out of the English 
> sphere.
> 
> To work it requires the LocalePlugin to be used in the Smalltalk system, 
> to detect which locale to use and which translation file to use.
> 
> The gettext package in the Pharo community has continued to evolve with 
> fixes[2]. It is used by people developing end user web application. The 
> Squeak community seems to have completely forgotten about it. So a port 
> to Cuis should be done from the Pharo version found in SmalltalkHub or GIT.
> 
> This is a port I will have to do for DrGeo. Other people interested to 
> join in the effort?
> 
> Best
> 
> Hilaire
> 
> [1 ] https://www.gnu.org/software/gettext/
> 
> [2] http://smalltalkhub.com/
> 
> [3] https://translations.launchpad.net/drgeo
> 
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu
> 
> -- 
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev


More information about the Cuis-dev mailing list