wiki:PootleHowto

Version 6 (modified by marr, 11 years ago) ( diff )

--

How to Use Pootle

Here shows an example how Taiwan team uses Sahana Pootle Server in the language translation process. In the following example, zh-tw.py is used, but the main idea should apply to other teams.

Roughly there are two roles:

  1. Translator who focuses on term translation and polishing, not necessary to know how .py files work.
  1. Administrator who converts updated .po to .py, and makes it works in eden/languages directory. If you are an Administrator, be sure to see the useful UserGuidelinesLocalisation before using Pootle or other translation tools.

As a Translator, How to Translate Terms on Pootle

  1. Say, we want to translate a term "Required Field", use search form to find it.

  1. Put the translation in the field below the term. You can submit the translation, or assign it as a suggestion.

  1. If there are other terms matching "Required Field", they will be shown afterward.

As an Administrator, How to Apply New PO into Eden

  1. Go to "Translate" tab.
  1. You can download zh-tw.po by right clicking "Download" and "Save Link As" zh-tw.po.

  1. Run "po2web2py -i zh-tw.po -o zh-tw.py" to generate the needed language file.
  1. Place the generated zh-tw.py in the eden/languages directory, and see if everything goes as expected.

As an Administrator, How to Apply New PO into Pootle

  1. Go to "Translate" tab.
  1. Choose the .po file to upload. Say, you can "Overwrite the current file if it exists".
  1. If choosing "Add all new translations as suggestions", or, there are suggestions for a term, you can decide "Accept" or "Reject" them.

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.