lyonplus / gettext-commons

Automatically exported from code.google.com/p/gettext-commons
GNU Lesser General Public License v2.1
0 stars 0 forks source link

The gettext-dist ant task needs a mapping for msgfmt -l #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have Hebrew translations in a file po/he.po
2. Note that Java uses the old identifier iw_IL
3. Run <gettext-dist targetBundle="FOO" poDirectory="po"
outputDirectory="build"/>

What is the expected output? What do you see instead?

msgfmt ... -liw_IL po/he.po
Instead of this, gettext-merge is apparently invoking
msgfmt ... -lhe po/he.po

Please use labels and text to provide additional information.

I'm sorry if this is a documentation issue. (If it is, please clarify the
documentation.) I don't see a way to provide a list of mappings to msgfmt
that allows me to say that -liw_IL should be passed for he.po.

Original issue reported on code.google.com by msmak...@gmail.com on 7 Mar 2009 at 8:29

GoogleCodeExporter commented 8 years ago
Good point,

I found several locales that are converted by the Locale class.

All of them are now converted in the same way in the gettext-ant-tasks.

This fix will be part of the next release.

If you still need support for "-l", please reopen.

Thanks,
Felix

Original comment by berge...@gmail.com on 18 Dec 2009 at 4:48