Author Topic: How to translate Rightload  (Read 8890 times)

nk

  • Administrator
  • Sr. Member
  • *****
  • Posts: 263
    • View Profile
How to translate Rightload
« on: June 21, 2010, 12:33:17 PM »
First of all, thank you for helping to improve Rightload! :)

Before you start, please post in this thread which language you are working on! This way, you can make sure no-one else is working on the same language.


To translate Rightload into your language, you first need to install a program called Poedit (http://www.poedit.net/). Poedit is an editor for .po-files, which is what Rightload uses for translations. The first time you run it, it will ask you for your name and email address. This will later be displayed in Rightload's "About" box.

After the installation, you can load Rightload's default.po file in Poedit - just download the file from -> here <- and open it in Poedit by clicking File -> Open...

When the file is loaded you first need to set the catalog settings - click on Catalog -> Settings and enter "Rightload" for the project name. The other settings depend on your translation, but you can leave most of them empty.

And now you can start translating! :)
Just select an entry in the list on top and then enter the translation in the lower text box at the bottom. The upper text box will show the entire text you have to translate. You can identify the strings you still have to translate by looking for lines with bold text in the list. There will be some things that don't make sense to translate - for example names and URLs. These you can just leave untranslated.

When you save your translations, Poedit will create two files - default.mo and default.po. The .po file is the original file, which you should keep for future changes. The .mo file is the compiled fill which will actually be used by Rightload. Please send both these files to me when you are done, so I can include them in the next version!

You can also test your translations by yourself. Just go to the "locale" folder in your Rightload directory (e.g. "C:\Program Files (x86)\Rightload\locale") and create a new folder there named after the language you are translating to. Then enter the folder you just created and create a new folder there called "LC_MESSAGES". Into that folder then put the "default.mo" file that you saved with Poedit. The next time you start Rightload you should be able to select your translation as a new option under Tools -> Language!

If you have any questions, please post here or contact me!
« Last Edit: June 21, 2010, 12:41:50 PM by nk »