Multilingual Squeak -- Translation HOWTO
Last updated at 1:19 am UTC on 17 January 2006
There's lots of interest in translating Squeak. This page should serve as a howto.
- load Yoshiki's Multilanguage package
- There's a method EToyVocabulary>>addJapaneseVocablary. This builds a big table for translations. The japanese version is complete. There's a partial translation to spanish (addSpanishVocabulary). The thing that needs to be done is to make a new "addSpanishVocabulary" based upon the more complete Japanese version. Esther had problems with umlauts, so she simply filed out the method and edited it with another editor.
- If you use emacs as an external editor, you can use regular expressions to replace all the japanese translations. I found editing without them much easier.
- after filing in the new addSpanishVocabulary, you should be able to select spanish (world menu, Help, Language, Spanish), and much of the interface should be translated.
Note: The order of each entry is 'key (english)' 'value (target language)' 'baloon help text'. However, this is only true in the first two parts. Starting with "self addToTranslationTable", you can ignore the entries in the third field.
- Q: I tried to install the .sar in a 3.4 and also in a 3.5 in windows and Squeak just start to alloc memory and never finished. Anyone had the same problem? (Diego)
- Q: In a 3.4 image, I always got the text context menu (the one with DoIt) in Japanese. This problem disappeared with 3.5. Any ideas? (Esther)
- Q: In the Japanese image, the paint palette buttons (Keep, Clear, Toss and Undo) are also in Japanese. How do I achieve that in German? (Esther)
I'm a squeak newbie and i wish to start an italian translation. This page does not seem suffficent to me to explain how to start translating... please write something better like a step by step guide.. (azazel)
- I will try it (José L.)
- Using squeakmap install "Squeak Multilingualization" module (you can install squeakmap through the "Welcome to " window that appears when starting squeak)
- Download the file http://homepages.vype.de/sebastian/squeak/EToyVocabulary-addGermanVocabulary.st
- Change some of the words and sentences of that file from german to italian
- install that file using the file browser
- in squeak world menu, choose help -> Set Language -> Deutsch
- Verás en italiano las palabras que has traducido, el resto en alemán e inglés