[Newbies] string translation - multi language application

stéphane ducasse ducasse at iam.unibe.ch
Tue May 9 19:13:01 UTC 2006

You can send asTranslated to the strings and using the language  
editor you can provide a translation.
This is not really application specific but this is working.
I think that in the future an application should holds its own  


On 8 mai 06, at 14:30, cdrick wrote:

> Hi again...
> For my project, I need to have an application in french and spanish.
> Do you have advice for simple translation mechanism (only strings).
> I wanted to intercept the rendering of strings in seaside and then  
> choose the proper one according to the session language. If missing  
> I was thinking of opening a new component asking for the translation.
> Are there any patterns to know about translating ?
> Thanks for all
> Cédrick
> ps: Lukas told me once they use a special class TranslatedString  
> that have the same interface as Strings, but consists of a  
> collection of translated strings. I imagine there is a collection  
> in a class variable, but how to create strings after ? explicitly  
> like TranslatedString: 'default' french: 'defaut' spanish:...
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners

More information about the Beginners mailing list