[Etoys] Translations

Takashi Yamamiya tak at metatoys.org
Tue Jul 10 17:55:40 EDT 2007


Actually, making .pot files is in progress by Korakurider..
http://d.hatena.ne.jp/korakurider/20070710/p2

Cheers,
- Takashi

Bert Freudenberg wrote:
> There are two initial steps that could be pursued independently. On  
> is gathering translatable strings from the image into .pot files, the  
> other would be to write a parser for .mo files. The first requires  
> knowledge of  Smalltalk parsing, the second familiarity with gettext.  
> So I'd suggest starting with the second.
> 
> Yet another step would be to re-implement #translated to take into  
> account the location of the sender. This could be performance- 
> critical, as "thisContext sender" gets you only the compiled method  
> but not the class or selector of the method. Probably the translator  
> should have a cache keyed by compiled method and string, but the  
> details might be tricky.
> 
> And work on making the language switching faster by not simply re- 
> building everything would certainly be useful, too.



More information about the Etoys mailing list