Skip to main content
FramaisCellarGhost
Known Participant
May 3, 2014
Answered

How do I specify supported languages for an Android app?

  • May 3, 2014
  • 1 reply
  • 957 views

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 has been closed for replies.
Correct answer jadams602

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.

1 reply

jadams602
jadams602Correct answer
Inspiring
May 3, 2014

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.

FramaisCellarGhost
Known Participant
May 3, 2014

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!