本文介绍了如何根据手机的设置中选择的语言改变应用程序的名称在启动的机器人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何改变它根据设置所选的语言出现在点击启动图标在Android主屏幕,屏幕上的应用程序的名称,电话(设置 - >语言和放键盘) ?换句话说,如果我们的应用程序阿布舍克&放大器;选择在手机设置法国的语言,然后命名该屏幕在法国应显示在应用程序中。预先感谢帮助。

How to change the name of the applications on that screen which appears on clicking Launcher Icon on Home Screen in Android according to the language selected in Settings(Settings->Language & Keyboard) of Phone? In other words, if we make application "Abhishek" & select "French" language in Settings of phone, then name of the application on that screen should display in french.Thanks in advance for help.

推荐答案

您只需将存储的strings.xml与该国code例如,一个strings.xml中的一个文件夹中值恩之一值-FR一个在价值观去。该应用程序会根据手机语言自动PIC的文件夹用正确的国家 - code

you simply have to store the Strings.xml in a folder with the countrycode eg one Strings.xml in values-en one in values-fr and one in values-de. The app will automatically pic the folder with the right country-code according to the phone language

这篇关于如何根据手机的设置中选择的语言改变应用程序的名称在启动的机器人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 09:06