I've managed to localize the menu of OR using GetText, a library that is used everywhere in the Linux world in order to localize programs.
In attachment, you'll find the files that I've modified (from revision 2007) and the library rewritten by Arbinada in C# (link to SourceForge) that I recompiled with VC# 2008.
The license of the library is LGPL v2.
For now, I've translated the menu in French. The strings in the C# files are still in English but I added the code needed to translate those strings.
I will write a manual to explain how to create a new language file. Basically, the translator will have to load a POT file in POEdit and translate the strings.
Then, he will have to use Msgfmt to generate an assembly file that contains the translations and that can be loaded by GetText.
This is the first stable version. I will have to do some adjustments in the French translation, add translation functions in the launcher and RunActivity and add a combobox to force change the language.
Bye !
Attached File(s)
-
Open Rails - Menu.zip (124.87K)
Number of downloads: 345