miracle2k / android2po

Convert Android string resources to gettext, and back.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locales: id, he, yi -> in, iw, ji

pocmo opened this issue · comments

Our gettext based tools are using language codes id, he, yi. However Java/Android are expecting in, iw, ji respectively.

We fixed this by adding those mappings to ANDROID_LOCALE_MAPPING in env.py.

I think if you create a pull request it might get added. (I'm not the maintainer.)

PS! This rewrite/mapping is suggested on Stack Overflow too - see https://stackoverflow.com/a/7989085/334497 which points to the relevant Android issue.

Thank you! May I try to beg for a new release (tag + pypi)? It's been a while, and for proper python3 support you basically need master.

Released as 1.6.

Thank you again!