3.7 Full: Packages and translations
Stéphane Rollandin
lecteur at zogotounga.net
Fri Apr 9 13:45:06 UTC 2004
Diego Gomez Deck wrote:
> For the 90% of the cases you only need to send #translated to every
> visible String. When #translated is evaluated, the receiver (one
> string) answer the version of this string/phrase to the current
> language. So,
>
> "answer 'casa' when Spanish if the current language"
>
> 'house' translated.
>
[...]
>
> Let me know if the explanation is clear enough.
>
it's quite clear.
there is just one mystery left: how do Squeak know the translation of
'house' in Spanish in the first place ?
say French is the current langage, does this:
'I''m ungry' translated
return 'j''ai faim' ?
.. don't tell me yes I won't believe it :)
cheers,
Stef
More information about the Squeak-dev
mailing list
|