tuminoid
03-02-2010, 06:05 AM
I have translation project (http://www.transifex.net/projects/p/cell-modem-control/) going on for Cellular Modem Control Buttons (http://maemo.org/packages/view/cell-modem-ui/). Handling the official 17 languages is easy by simply adding po files for each and presenting en_US strings as substitute for real translations until someone really translates them. (I got 12 or so of 17 translated already, please help with the rest).
Now I have a problem: I've noticed there is many community translation projects going on, which means whenever someone uses one of these "unofficial" languages, my app will display msgid's instead of natural language, since my app won't have that unofficial language translations. Thats is horrible UX as layouts break plus the app makes no sense.
How do I make a fallback to en_US strings when user is using unofficial language?
I know I could make msgid's en_US strings, but they're hard to maintain if I ever wanted to change the string. Also adding all the possible languages as a copy from en_US looks rather stupid way to solve this.
Now I have a problem: I've noticed there is many community translation projects going on, which means whenever someone uses one of these "unofficial" languages, my app will display msgid's instead of natural language, since my app won't have that unofficial language translations. Thats is horrible UX as layouts break plus the app makes no sense.
How do I make a fallback to en_US strings when user is using unofficial language?
I know I could make msgid's en_US strings, but they're hard to maintain if I ever wanted to change the string. Also adding all the possible languages as a copy from en_US looks rather stupid way to solve this.