21

I'm about to upload my first app to the Google Play store and when I uploaded the APK to the Developer Console, it says under Localizations: default + 55 languages. I don't want my app listed as supporting any of these languages/localizations because it's in English only. What should I do in my app to let Google Play know that the there are no localizations and that the app is in English only?

4
  • Do you have any other directory besides /res/values/ in your current Android project? For example, /res/values-de/, which is the localisation directory for German, etc. Delete the extra directories, compile your project, and re-release it.
    – ChuongPham
    Apr 10, 2014 at 23:14
  • No, nothing like that.
    – TimSim
    Apr 10, 2014 at 23:35
  • Probably a new "feature" of Google Play itself. I would ignore it if it does not impact the functionality of your app. Google has a tendency to surprise us from time to time. ; )
    – ChuongPham
    Apr 10, 2014 at 23:48
  • I'd say this is a bug in the Developer Console. I noticed the same thing; default + 57 languages.
    – RobinJ
    Aug 22, 2014 at 20:14

3 Answers 3

24

This isn't a problem: Google Play does not let users know what languages are supported by your application and it may be that some of the libraries you use (such as Google Play Services) are localized in 55 languages and users would see those translations based on their language, even if the vast majority of your application is not translated.

The only way for a user prior to installing the app to know what languages the app is optimized for is if you add a translation on the Store Listing tab.

1
  • 1
    What is the reason for showing it then? creating confusion unnecessarily.
    – Ravi Raj
    Nov 19, 2020 at 10:32
11

At the time of apk build,aapt used to merge required folder(like res) specified into library that you required for your Application.

Like below code adds google play service usage in your app.

dependencies{
compile 'com.google.android.gms:play-services-base:8.3.0'
compile 'com.google.android.gms:play-services-gcm:8.3.0'
}

We can verify this by decompiling apk(using apktool),It shows values folders for supported languages by Your APP + added library.

In case you only want to show specific languages for your app,You can set it in argument as shown below in build.gradle file.

 defaultConfig { 
resConfigs "en", "en_US", "en_UK"          
}

This significantly shrink apk size.

1
  • 1
    defaultConfig { resConfigs "en", "en_rUS", "en_rUK" } Oct 2, 2016 at 15:03
2

Was looking for this solution everywhere, the answer which works and removes localisations from the Google Play store for cordova apps is

defaultConfig { 
    resConfigs "en"
}

Or change "en" to whichever language you wish.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.