still looking for marking string for translation

Hilaire Fernandes hilaire at ext.cri74.org
Sun Feb 19 19:50:23 UTC 2006



Yoshiki Ohshima a écrit :
>   Hilaire,
> 
> 
>>I am still looking for a way to mark, in image 3.8, string for translation?
>>
>>Does the procedure described at http://minnow.cc.gatech.edu/squeak/402
>>became obselete?
>>
>>At worst I will have to use directly local language string.
> 
> 
>   I'm not exactly sure by "marking", but the closest thing would be:

The only localisation system I know is gettext, in this system the
string to translate are marked directly in the source code (with a
special function as _()). Next, such marked strings can be grouped in
the translation file for the translator.

I was thinking about something to get the same effect (i.e. get the
string ready to be translated)

> 
> NaturalLanguageTranslator registeredPhraseFor: phrase.
> 
> and then use the LanguageEditor.

Ok.

Will it be possible to group strings in one independant package (I don't
know in which form), so it can be moved allong the application classes.
Otherwise I am afraid the marked string for translation could be very
esily loose as I guess they may be dependant on the image.

Hilaire Fernandes

> 
> -- Yoshiki
> 
> 



More information about the Squeak-dev mailing list