How to set up translations of a PHP project to correctly use Launchpad translations?
Launchpad uses the standard GNU Gettext directory and file layout [0].
PHP uses the commonly seen "xx_XX/
I am currently working to get a new PHP project to host on Launchpad and one of my main arguments is the translation community. The project itself has not yet been internationalized, so I'm wondering if there's a way to force PHP to use the standard GNU Gettext directory and file layout.
Or maybe another project has found a way to handle these differences in layout? I have written a Python script [2] to do that for a Django application, has anybody ever heard of a similar script for PHP?
The reason I'm asking here is that I'm pretty sure other PHP projects have had to go through the same question when setting up their translations.
[0] https:/
[1] https:/
[2] http://
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- Данило Шеган Edit question
- Last query:
- Last reply:
- Whiteboard:
- 2011-09-19 Assigned to Danilo.
Can you help with this problem?
Provide an answer of your own, or ask Emilien Klein for more information if necessary.