← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Merge] lp:ubuntu-packaging-guide/translator-credits into lp:ubuntu-packaging-guide

 

The proposal to merge lp:ubuntu-packaging-guide/translator-credits into lp:ubuntu-packaging-guide has been updated.

Description changed to:

This branch adds:

- a script that generates a list of translators in .txt or .html formats;
- "Help translate" and "View the list of translators" links to the page bottom.

This should (hopefully) motivate new translators to take part in our project.

Using the script (it's written in Python 3.x, I'll port add-languages to Python 3 also later):

- ./debian/scripts/build-list-of-translators — will create output for supported languages (es and ru) in translators.txt;
- ./debian/scripts/build-list-of-translators -a — will create output for all languages;
- ./debian/scripts/build-list-of-translators -l lv -l ca — will create output for Latvian and Catalan languages.
- ./debian/scripts/build-list-of-translators -o translators.html — will create an HTML file on output. One should also copy style.css from debian/scripts/data to the directory containing that HTML file.

Running the script will print something like this to stdout:

Processing languages: vi ru sv nl sl te(s) ja mk de id it tr en_AU(s) zh_TW lv ca fr es kn(s) zh_HK pt_BR hr hu(s)

(s) means that the language is skipped because the translators list is not available;
(e) means that the given .po file doesn't exist.

This will actually work after first translations update, but I've put an example of generated page to http://people.ubuntu.com/~mitya57/ubuntu-packaging-guide-translators.html.

For more details, see:
https://code.launchpad.net/~mitya57/ubuntu-packaging-guide/translator-credits/+merge/148710
-- 
https://code.launchpad.net/~mitya57/ubuntu-packaging-guide/translator-credits/+merge/148710
Your team Ubuntu Packaging Guide Team is requested to review the proposed merge of lp:ubuntu-packaging-guide/translator-credits into lp:ubuntu-packaging-guide.


References