New "dynamic" i18n menu.

Now both UI translation menu (in userprefs) and isocodes are defined in a text file (release/datafiles/locale/languages), parsed at lunchtime. This way:
* No more need to edit Blender code each time we want to add an new language or reorganize the existing menu;
* Translators can easily add a new language for testing, by just editing the text file, so no more need to ask to change Blender code and wait for a new build to see your new translation work in Blender!

Remaining todo:
* Commit i18n py tools
* Update wiki doc!
This commit is contained in:
Bastien Montagne
2012-10-22 14:04:40 +00:00
parent c727f8cbde
commit b5e85cae70
8 changed files with 170 additions and 55 deletions

View File

@@ -1064,6 +1064,7 @@ int main(int argc, char** argv)
#ifdef WITH_INTERNATIONAL
BLF_free_unifont();
BLF_lang_free();
#endif
IMB_exit();