This is a brief tutorial for offline translate BitComet from Launchpad.
For the normal way to translate BitComet directly on Launchpad, please refer to another blog post.
1) Download and install Poedit ( http://www.poedit.net/ )
2) Download the BitComet language file( *.po ) for a particular language from Launchpad:
a.) Select a language, Click on the language-name;
b.) Click on the "Download" button;
c.) Select "PO format",Click on the "Confirm Download" button;
d.) A mail will arrive later (could take minutes to an hour) with the address of the PO file that contains the strings used in BitComet's interface.
3) Open the downloaded PO file in Poedit and translate the untranslated strings (and also verify the fuzzy strings if they are correctly translated).
4) The translation can be verified by copying the bitcomet-xx.mo file in the "lang" subfolder of BitComet and switching to that language with Tools>Language from inside the software. After verification the PO file can be uploaded to Launchpad.
5) Go the Launchpad page that contains the translated language,and upload the PO file:
a.) Click on the "Upload a file" button (is near the top of the page).
b.) Browse to the local BitComet PO file and then click on the "Upload" button.
The translation will be loaded inside Launchpad and will be included automatically in the next version of BitComet.
(thanks Alexandru Bogdan Munteanu for this tutorial)
Tips
1.Convert PO file to MO file
Open .po file by poEdit, press 'Ctrl + s' will be automatically generated to save the po and mo files.
2. Convert MO file to PO file
Use the command "msgunfmt" to convert MO file into PO file. Frist,move the .mo file to poEdit's bin directory. Second,run command prompt and open poEdit's bin directory, enter the
command: " msgunfmt xxx.mo > xxx.po".