2

My question is much the same as this one, but unfortunately it was never answered.

how to set application locale?

I am actually trying to load the app onto the market place but it is showing that the default language is English when I upload it. I am guessing that there is a setting in the manifest file but can't find it.

All of the text in the app is in German but I just need the application to show this.

Community
  • 1
  • 1
jiduvah
  • 5,108
  • 6
  • 39
  • 55

3 Answers3

5

You can choose your default language in the parameters in the Market as follow:

1st step

Step 1

2nd step

Step 2

3rd step

Step 3

Last step

Step 4

My interface is in french but it is basically the same.

Community
  • 1
  • 1
  • Yes a colleague figured this out in the end. I was sure that when I uploaded the app it was reading my manifest file and setting English as default. It took a while before I realised you can delete english as a language – jiduvah May 18 '11 at 08:50
0

The answer is in here:

https://web.archive.org/web/20210127121431/http://www.tutorialforandroid.com/2009/01/force-localize-application-on-android.html

You can also use the default files to force german.

Instead of having:

strings-en.xml
strings-de.xml
strings-ch.xml
...

Use strings.xml only, and put german strings there. Any user will see german.

Suraj Rao
  • 29,388
  • 11
  • 94
  • 103
neteinstein
  • 17,529
  • 11
  • 93
  • 123
  • So the only way is to set the locale programmatically? – jiduvah May 17 '11 at 15:40
  • No. Use the default values. Like values/strings.xml and not strings-de.xml or strings-en.xml... If you just use ONE strings.xml this will always be read. That IS the standard language. – neteinstein May 17 '11 at 15:45
0

If your resources are localized to German then anyone with a German-localized phone should see everything in German.

Haphazard
  • 10,900
  • 6
  • 43
  • 55
  • There are no options for other languages. It's just in German. I want to set it so you can download the app and read German, if you have an English localised phone you will still read German. – jiduvah May 17 '11 at 15:42