Actions

Developer Area/Language Packs/Launchpad New Language Packs

From Mahara Wiki

< Developer Area‎ | Language Packs
Revision as of 12:39, 18 September 2012 by Sonn (talk | contribs)

Add a new language pack to Launchpad

If you are in charge of the official language packs, you may receive a language pack tar ball from a translator. You may be asked to add the tar ball into the Mahara translation project on Launchpad. This tar ball contains the directory named like 'xy.utf8' which has translated strings for a specific Mahara branch.

Here are the instructions

Checkout the Mahara code and Mahara lang script

You need to checkout the Mahara branch (1.3, 1.4, 1.5, 1.6, and master) which is compatible to the lang pack. Please see the |Set up a development environment page for more details.

cd ~
mkdir code
cd code
git clone git://gitorious.org/mahara/mahara.git
cd ~/code/mahara
git checkout -t origin/<Mahara-branch_STABLE>

You also need to checkout the Mahara lang scripts in the mahara-scripts repository

Install the language pack tar ball

Generate a .po file

Update the Translator's info in the .po file

"Last-Translator: Son Nguyen <[email protected]>\n"
"Language-Team: Launchpad Vietnamese Translators\n"

If you don't include an email address on this line, you (as the uploader) will be credited as the translator after it's uploaded to Launchpad.

Get the last updated .pot template from launchpad

You need one mahara.pot for each branch. You can find them on these bzr branches: