Forums | Mahara Community
configuring poedit for translating Mahara
19 June 2012, 8:07 AM
I wont to make .po file from mahara lang pack. I already translated strings in adminlang but now i need .po file to upload it to lounchpad. I dont know hot to set right keys so that poedit can read all my strings from php files.
19 June 2012, 5:08 PM
Hi Tomislav, there is a script to convert from a mahara language pack to a po file here:
You need to give this script (1) the location of an English langpack (or a Mahara web folder), (2) the location of your translated langpack, and (3) the name of the output po file.
php php-po.php /path/to/mahara/htdocs /path/to/dataroot/langpacks/hr.utf8 hr.po
You might need to edit some of the lines in the header of the resulting po file before opening it in poedit.
20 June 2012, 4:05 AM
Tnx a lot. Work perfect.