miracle2k / android2po

Convert Android string resources to gettext, and back.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting .pot filename

Macarse opened this issue · comments

Launchpad needs to have the pot file called exactly as the project. In my case: smspopup.pot. Right now I am using android2po and then renaming the file.

It would be nice to be able to set the .pot filename instead of getting a template.pot. For example: A cfg file where I can write down which name the .pot should have.

This isn't right. The pot file don't need to have the same name as the project. Look at the Astrid translation for example: http://bazaar.launchpad.net/~tim-todoroo/astrid/main/files/head%3A/translations/
The name of the pot files are arrays.pot and strings.pot and not astrid.pot

You can now use the --template option to specify the name used for the .pot template.