![]() |
Developers »
Translate Free Guide |
|
Translating FreeGuideFiles to translateYou can help translating FreeGuide by downloading a source package and providing translated versions of all the files called "something.en.properties" that you find inside the "src/resources-utf8/i18n" folder, but the best way is to Build from SVN. Then you can test your work more easily, and keep it up-to-date with the latest changes to FreeGuide. There are quite a lot of files in the src/resources-utf8/i18n folder, but the most important (and largest) file is MessagesBundle.en.properties. To translate a file, copy the file ending with .en.properties, and rename it for your language and region (e.g. ".fr.properties" or ".en_US.properties"). Ask on the developers' mailing list if you don't know what your language and region codes should be. Now, modify the copied file so that everything on the right-hand side of the "=" sign is in your language (leave everything on the left of the "=" exactly as it is). It looks like a lot of files, but most of these only have a few entries in them. Now send the translated files to the developers' mailing list: freeguide-tv-devel@lists.sourceforge.net. Thank you! It would also be great to get the documentation translated - email the developers to find out exactly what needs translating and how to do it. In general, we really welcome translations of FreeGuide, so if you need help, please do ask and we'll do our best to help you. Testing your translationTo test your translation, follow the instructions on how to Build from SVN. Put your translated files into the src/resources-utf8/i18n folder with the others. Now run FreeGuide from within the src directory like this: cd src java -Duser.language=zh -Duser.country=TW freeguide.startup.Startup replacing "zh" with your language code, and "TW" with your region code. If you are not using a region code, the correct command is just: cd src java -Duser.language=zh freeguide.startup.Startup Alternatively, if you want to test the translation inside the JAR files once they have been created (i.e. you are building with "ant install-linux-run" on Linux) then the command would look something like this: cd run FREEGUIDE_OPTS="-Duser.language=en -Duser.region=RC" ./freeguide Do ask the developers (see Contact Us) if you run into any problems or have questions. |
If you would like to help improve this site, please Contact Us and we will give you the password to edit pages. | |
Page last modified on June 03, 2008 PmWiki Info | - - - () - |