Forums | Mahara Community
Testing a Mahara translation file outside of Launchpad
29 June 2018, 2:14 AM
Just wondering whether it is possible to locally test a completed .po translation file before submitting it to Launchpad. As I'm not a member of the translators' group, I'm asking it here in the Developers' forum.
We've been working on completing the Dutch translations for our clients, but would really like to test the completed .po file before anything else.
I've read about the po-php.pl script, and was wondering if it is part of every Mahara installation or if there's another way.
Hope you can give me some advice on how to go about this.
Thanks in advance!
04 July 2018, 5:37 PM
To manually translate the .po files to a langpack for testing you need to run a script we have in a different repository from Mahara code.
Follow the instructions in the link below. You don't need to do the last step (create the tar balls)
After this you'll have a langpack ready to be installed. You need to:
- Make sure you have a "langpacks" directory inside your dataroot directory - one should have already been created for you.
- Copy the obtained directory to the 'langpacks' directory inside your dataroot.
I took the last instructions from this link below, but there are a few steps that you can skip since you don't need to download a langpack or decompress it:
I hope this helps.