Skip to main content
FramaisCellarGhost
Known Participant
May 3, 2014 10:14 AM UTC
Answered

How do I specify supported languages for an Android app?

I have uploaded my APK created with AIR to the Android Developers console and it looks like the list of supported languages is the default one (15 languages), see image:

http://imgur.com/67MxVKI

My app actually only supports 9 languages, how can I specify only the 9 languages that my app supports?ffi

Are there any specific tags I need to add in the Android manifest additions in the application descriptor?

Any pointer in the right direction will be appreciated, thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.
jadams602
jadams602Correct answer
Inspiring
May 3, 2014 3:06 PM UTC

Starting with AIR 3.8 Adobe added the supportedLanguages tag for the app xml descriptor that would filter the default all languages:

<!-- Languages supported by application. Only these languages can be specified -->

<!--<supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages>-->

<supportedLanguages>en</supportedLanguages>

This definitely works on iOS by filtering the localizations that get bundled into the .ipa so Apple doesn't automatically list all languages Adobe localizes in the captive runtime. I would expect this to have a similar effect on Android if you don't already have this explicitly added in your application descriptor.

2 replies

jadams602
jadams602Correct answer
Inspiring
May 3, 2014 3:06 PM UTC

Starting with AIR 3.8 Adobe added the supportedLanguages tag for the app xml descriptor that would filter the default all languages:

<!-- Languages supported by application. Only these languages can be specified -->

<!--<supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages>-->

<supportedLanguages>en</supportedLanguages>

This definitely works on iOS by filtering the localizations that get bundled into the .ipa so Apple doesn't automatically list all languages Adobe localizes in the captive runtime. I would expect this to have a similar effect on Android if you don't already have this explicitly added in your application descriptor.

Translate
FramaisCellarGhost
Known Participant
May 3, 2014 4:01 PM UTC

Hi Jeff,
That's it, for some silly reason I though that was only for iOS, but it works like a charm on Android as well.

Thanks for the answer!

Translate