Saturday 15 February 2014

How to set R.String.App_name in the android application -


Is it possible to set R.String.app_name while running the application?

Due to the language setting

When a user wants an application in English, I have to change the name of the application for the English name

and when he wants it Applications in Arabic I want to rename the application for an Arabic name.

You store Strings.xml in a folder with just the country code. In the values ​​like strings.xm, one in the value-f and one in the value-d.

View The app will automatically pop up the folder with the correct country-code according to the phone language

No comments:

Post a Comment