fadine / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

How to switch language? #262

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.How to change language interface?
2.
3.

What is the expected output? What do you see instead?
The App updated the language... but how to switch it?

What version of the product are you using (See "About" screen)?
Version 0.6.9

Make/model of your device, and Android version?
Samsung S4 

Please provide any additional information below.

Original issue reported on code.google.com by iwan.nov...@gmail.com on 20 Feb 2015 at 2:27

GoogleCodeExporter commented 9 years ago
On Android the language is controlled by the OS, so you'll have to change the 
language of the phone itself on the Android settings (and that will affect all 
apps).

Original comment by nicolas@guillaumin.me on 20 Feb 2015 at 11:36

GoogleCodeExporter commented 9 years ago
My phone always set to my language. But the apps still on English when I update 
it.

Original comment by iwan.nov...@gmail.com on 26 Feb 2015 at 1:52

GoogleCodeExporter commented 9 years ago
What is the language of your phone? Do you know the locale code? (Something 
like en_US for example).

Perhaps OSMTracker doesn't have a translation for that.

Original comment by nicolas@guillaumin.me on 27 Feb 2015 at 12:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
My language is Bahasa Indonesia which the code is ID. I've translated Bahasa on 
transifex.

Original comment by iwan.nov...@gmail.com on 27 Feb 2015 at 4:56

GoogleCodeExporter commented 9 years ago
Indeed, there are id and id_ID resources on the app.

Sorry I'm not sure what's going on, the app. itself doesn't have control over 
the language, it relies on the Android global setting. What if you change your 
phone settings to something else, does it changes OSMTracker language?

Original comment by nicolas@guillaumin.me on 1 Mar 2015 at 1:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm switch to Germany de_DE, the app changed to Germany. But when I switch back 
to Bahasa Indonesia id_ID, it's back to English. Is it a bug?

Original comment by iwan.nov...@gmail.com on 6 Mar 2015 at 7:54

GoogleCodeExporter commented 9 years ago
Perhaps a bug in Android or Java, maybe related to:
* https://code.google.com/p/android/issues/detail?id=5476
* https://code.google.com/p/android/issues/detail?id=13022

Also the Javadoc for Locale mentions "id" / "in": 
http://developer.android.com/reference/java/util/Locale.html

Perhaps an option is to duplicate the {{id}} and {{id_ID}} resources to {{in}} 
and {{in_ID}}.

Would you have, by any chance, another open source app. that works with your 
locale so that I could check how they did it?

Original comment by nicolas@guillaumin.me on 9 Mar 2015 at 8:27