TranslationTool: add a 'Test' button to launch Micropolis with translated strings

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@661 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-05-21 13:28:14 +00:00
parent 8f67c73383
commit 30a5b6d53c
2 changed files with 95 additions and 12 deletions

26
HACKING Normal file
View file

@ -0,0 +1,26 @@
Localization
============
Unless you a native English speaker, you may like to run Micropolis
in your own language. Micropolis is designed to be run in any language,
but we need translators to provide the translated text to display.
1. Open a command prompt window and `cd' to the directory containing
the micropolisj.jar file.
2. Run the following command to launch the translation tool:
java -cp micropolisj.jar micropolisj.util.TranslationTool
3. Click Add Locale and enter the appropriate 2-character language
code, and (optionally) a 2-character country code.
4. Next to each string, double-click the blank field and type in
a translation.
5. Click Save. (This will cause the translated strings to be written
in the proper format into a subdirectory named micropolisj.)
6. Close the translation tool. Send the generated files (from the
micropolisj subdirectory) to jason@long.name for inclusion in the
next release of Micropolis.