Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localization of apk strings in both english UK and english US?

I'm new to android. So, It may be asking a silly question. I have added description in both English US and UK in Play Store. Now it's asking me to upload apk. Can I upload the same apk used for UK and US as there's no difference in strings. Do I need to add new folders inside the values directory even if there's no difference.

Thanks in advance!

like image 724
lightsaber Avatar asked Oct 07 '13 05:10

lightsaber


People also ask

How do I localize a string in Android?

Localizing Strings In order to localize the strings used in your application , make a new folder under res with name of values-local where local would be the replaced with the region. Once that folder is made, copy the strings. xmlfrom default folder to the folder you have created. And change its contents.

What is localization in Android app?

Localization of Android apps is the process of adapting a mobile app for people who speak different languages or live in different countries. You probably want your app to grow and be used by more people than just those in your local area. You want it to reach people on other continents and eventually go global.

How do I change localization in Android?

You'll find this screen either in the System Settings app: Languages, or System Settings: System: Languages and input. The Language preference screen should contain one entry called “English (Europe)”. Click Add language and add a fallback language.

How can I add locale language in Android?

In this step, we are required to create a string resource file for the Hindi language. Go to app > res > values > right-click > New > Value Resource File and name it as strings. Now, we have to choose qualifiers as Locale from the available list and select the language as Hindi from the drop-down list.


2 Answers

You only need one APK for all languages. You do not need to upload one for each language.

Adding separate strings.xml files is fully optional, and it does not have to match the languages and variations you've entered on Google Play.

like image 123
Liggliluff Avatar answered Oct 17 '22 01:10

Liggliluff


No, as long as your strings.xml file is located under the basic values folder.

like image 36
Gil Moshayof Avatar answered Oct 16 '22 23:10

Gil Moshayof