Version 1 (modified by 14 years ago) ( diff ) | ,
---|
User Guidelines - Localisation - 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:
- Translator who focuses on term translation and polishing, not necessary to know how .py files work.
- 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
- Say, we want to translate a term "Required Field", use search form to find it.
- Put the translation in the field below the term. You can submit the translation, or assign it as a suggestion.
- If there are other terms matching "Required Field", they will be shown afterward.
As an Administrator, How to Apply New PO into Eden
- Go to "Translate" tab.
- You can download via "ZIP of directory". A file name like "eden-zh_TW.zip" will be saved. Unzip the file will give you zh-tw.py.
- Run "po2web2py -i zh-tw.po -o zh-tw.py" to generate the needed language file.
- 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
A common case is that you have a new zh-tw.py in languages directory, and want to upload it to pootle. This zh-tw.py file can turn into zh-tw.po running "web2py2po -i zh-tw.py -o zh-tw.po".
marr's note: in my experience, with the above generated zh-tw.po file, you might see all msgstr filled with strings automatically, and uploading such file to pootle will mislead the statistics.
- Go to "Translate" tab.
- Choose the .po file to upload. Say, you can "Overwrite the current file if it exists".
- If choosing "Add all new translations as suggestions", or, there are suggestions for a term, you can decide "Accept" or "Reject" them.
Attachments (5)
- search-term.png (24.3 KB ) - added by 14 years ago.
- chinese-term.png (48.1 KB ) - added by 14 years ago.
- download.png (30.9 KB ) - added by 14 years ago.
-
Como colaborar en la traduccion de Sahana al español mini-howto v0.2.doc
(1.8 MB
) - added by 14 years ago.
Spanish Translation Guide
-
dashboard.png
(92.4 KB
) - added by 13 years ago.
Pootle Dashboard
Download all attachments as: .zip