Home

A free C++ BitTorrent/HTTP/FTP Download Client

help_translations_of_bitcomet
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
help_translations_of_bitcomet [2024/09/03 10:03] – [Help Translations of BitComet] wxherehelp_translations_of_bitcomet [2024/09/04 01:06] (current) – [Help Translations of BitComet] wxhere
Line 103: Line 103:
  
   - Open [[https://translations.launchpad.net/bitcomet/|BitComet translation project]] on Launchpad.   - Open [[https://translations.launchpad.net/bitcomet/|BitComet translation project]] on Launchpad.
-  - Register/login your account at first and then continue.\\ {{:trans_03.png|}}\\ <html><br /></html>    +  - Register/login your account at first and then continue.\\ {{:trans_03.png|}}\\  
-  - After signing in, click "Choose Preferred Languages..." to go forward.\\ {{:trans_04.png|}}\\ <html><br /></html>    +  - After signing in, click "Choose Preferred Languages..." to go forward.\\ {{:trans_04.png|}}\\    
-  - Select the language you want to translate from the list (support multiple choices), and click Save.\\ {{:trans_05a.png|}}\\ <html><br /></html>    +  - Select the language you want to translate from the list (support multiple choices), and click Save.\\ {{:trans_05a.png|}}\\  
-  - Click on the language name you selected in the previous step and you will be redirected to a new page.\\ {{:trans_06.png|}}\\ <html><br /></html>    +  - Click on the language name you selected in the previous step and you will be redirected to a new page.\\ {{:trans_06.png|}}\\  
-  - Select "License all my translations in Lauchpad under the BSD license" to continue.\\ {{:trans_08b.png|}}\\ <html><br /></html>   +  - Select "License all my translations in Lauchpad under the BSD license" to continue.\\ {{:trans_08b.png|}}\\  
   - For those sentences which need translating, enter your new translation in the form and then click the "Save&Continue" button after you finished. All your translations will be saved in Launchpad and will be merged automatically in the next version of BitComet.\\ {{:trans_09.png|}}   - For those sentences which need translating, enter your new translation in the form and then click the "Save&Continue" button after you finished. All your translations will be saved in Launchpad and will be merged automatically in the next version of BitComet.\\ {{:trans_09.png|}}
  
 ---- ----
  
-==== Translate BitComet offline from Launchpad ====+=== Translate BitComet offline ===
  
-This is a brief tutorial for offline translating of BitComet from Launchpad. +This is a brief tutorial for offline translating BitComet.
- +
-If you want to translate BitComet directly on Launchpad online, please refer to the previous section [[help_translations_of_bitcomet#help_translations_of_bitcomet1|Translate BitComet from Launchpad]]+
  
 **1)** Download and install Poedit: **1)** Download and install Poedit:
-  * Original version (www.poedit.net) +  * The latest official version (https://www.poedit.net) 
-  * Modified version ([[http://download.bitcomet.com/tools/poedit/achive/poEdit1.4.2.zip|download]]) with the following improvements: +  * Or the modified version ([[http://download.bitcomet.com/tools/poedit/achive/poEdit1.4.2.zip|download from here]]) with the following improvements: 
-    Displays "Message Context" for each message, besides "Original String" and "Translation"+    Displays "Message Context" for each message, besides "Original String" and "Translation"
-    Sorts messages by "Message Context" by default. +    Sorts messages by "Message Context" by default. 
-    Sorts messages by "Translation" if it opens a PO file while pressing Ctrl key. +    Sorts messages by "Translation" if it opens a PO file while pressing Ctrl key. 
-    Supports update of all PO files in a project using POT file.  +    Supports update of all PO files in a project using POT file. 
- +
-**2)** Download the BitComet language file for a particular language from [[https://translations.launchpad.net/bitcomet|Launchpad]]:\\ a) Select a language; +
- +
-{{:trans_07.png|}} +
- +
- +
-b) Click the "Download" button;\\ {{:trans_10a.png|}} +
- +
- +
-c) Select "PO format" and click "Confirm Download" button;\\ {{:trans_11.png|}} +
- +
- +
-d) An e-mail will arrive (in a few minutes or up to one hour) with the address of the PO file that contains the strings used in BitComet's interface.\\ <html><br /></html> +
- +
- +
-**3)** Open the downloaded PO file in Poedit and translate the non-translated strings (and also verify the fuzzy strings, if they are correctly translated).\\ {{:trans_12.png|}} +
  
-**4)** The translation may 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.+**2)** Download the BitComet language file for a particular language from https://github.com/bitcometdev/translation
  
-**5)** Go to the Launchpad page that contains the translated language, and upload the PO file:\\ +**3)** Open the downloaded PO file with Poedit and translate the non-translated strings (and also check the fuzzy strings, which may be not translated correctly).\\ {{:trans_12.png|}}
-a) Click the "Upload a file" button (near the leaderboard).\\ {{:trans_13.png|}}+
  
-bBrowse to the local BitComet PO file and then click "Upload".\\ {{:trans_14.png|}}+**4)** The translation file can be tested by copying the bitcomet-xx.mo file in the "**lang**subfolder of BitComet, and switching to that language from BitComet Tools menu -> Language
  
-The translation will be loaded inside Launchpad and will be includedautomatically, in the next version of BitComet.+**5)** After verification, the PO file can be sent back to github with Pull-Request.
  
-(Thanks to [[https://launchpad.net/~muntealb|Alexandru Bogdan Munteanu]] for this tutorial.) +The updated translation will be included in the next version of BitComet.
  
 ---- ----
Line 160: Line 140:
 ===Converting a PO file to MO file=== ===Converting a PO file to MO file===
  
-Open the .po file with Poedit. Pressing 'Ctrl + swill automatically generate the saving of the po and mo files.+Open the .po file with Poedit. Pressing 'Ctrl + Sto generate the .mo file.
  
 ===Convert MO file to PO file=== ===Convert MO file to PO file===
  
-Use command "msgunfmtto convert an MO file into a PO file. Firstmove the .mo file to Poedit's bin directory. Secondly, run the command prompt, open Poedit's bin directory and enter the command: " msgunfmt xxx.mo > xxx.po".\\ {{:trans_15.png|}}+Use **msgunfmt.exe** to convert an MO file into a PO file, which can be find in Poedit's bin directory. Just run the command prompt, and launch the command: "msgunfmt xxx.mo > xxx.po".\\ {{:trans_15.png|}}
  
 ---- ----
 
help_translations_of_bitcomet.1725357822.txt.gz · Last modified: 2024/09/03 10:03 by wxhere
Recent changes RSS feed Driven by DokuWiki