arduino/Arduino — pull request #44 by sgk (2011-10-15 10:02:57+00:00)
Title: UI text internationalization

Internationalization for the user interface (menus, dialogs etc). I provided the text catalog for Japanese. But, you can add other languages.

Arduino is not used for arts, but it is also widely used for education. When used for education, it is a little bit difficult to force students to also learn English in addition to Arduino itself. *It is important to let world wide users to be able to use Arduino without learning English.* This modification is exactly for this purpose.

The heart of modification is just add files "I18n.java", "Resources.java", "i18n_update.py" and "i18n_update.sh", for the total of only 155 lines. Other modifications are just wrap string literals with "_(...)" function.

If you want to add language locale "XX", you have to do as follows:
1. `% cd app/src/processing/app`
2. `% touch Resources_XX.po`
3. `% ./i18n_update.sh`
You can ignore warning for "CHARSET" this time.
4. Edit "Resources_XX.po". Change "CHARSET" to "utf-8".
5. `% ./i18n_update.sh` --- _again_
6. `git add Resources_XX.*`