如何将我的应用程序设置为德语区域设置
我的问题与这个问题非常相似,但不幸的是它从未得到解答。
我实际上正在尝试将应用程序加载到市场上但我上传的时候显示默认语言是英语。我猜测清单文件中有一个设置,但找不到它。
应用程序中的所有文本都是德语,但我只需要应用程序来显示这一点。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以在市场的参数中选择默认语言,如下所示:
第一步
第二步
第三步
最后步骤
我的界面是法语,但基本相同。
You can choose your default language in the parameters in the Market as follow:
1st step
2nd step
3rd step
Last step
My interface is in french but it is basically the same.
如果您的资源本地化为德语,那么任何拥有德语本地化手机的人应该看到德语的一切。
If your resources are localized to German then anyone with a German-localized phone should see everything in German.
答案就在这里:
您还可以使用默认文件强制德语。
而不是:
strings-en.xml
字符串-de.xml
字符串-ch.xml
...
仅使用 strings.xml,并将德语字符串放在那里。任何用户都会看到德语。
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.