Internationalization / localization / i18n
Monkey Forums/Monkey Programming/Internationalization / localization / i18n
| ||
Hi there, I checked the documentation but can't find anything related to internationalization, I am wondering if there is an out-of-box way in Monkey to detect the user 'locale' - language/country? Thanks! Cheers |
| ||
On the game start up, which should be self explainitory, have buttons that look like different country flags, when the mouse is over one it says "select this lanmguage" in whatever language the flag represents. But you'll have to make several copies of the same game in different translations depending on what flags you provide to select. |
| ||
BTW Diddy has an i18N module, which allows you to quickly switch the text for each supported language, you store the translated words in an XML file: http://code.google.com/p/diddy/source/browse/trunk/src/diddy/i18n.monkey And heres an example: http://code.google.com/p/diddy/source/browse/trunk/examples/I18N/testI18N.monkey |
| ||
Thanks guys! |