Supported languages: illegal value when updating game on SlideME

The APK is made with the newest public release.

We were trying to update a game on SlideMe but get the following error:

Supported languages: illegal value.

Can we somehow control this settings in Corona?

Here is what I got as a response from the SlideMe team.

Corona team, what can be done ?

Your app defines the following invalid locales:
fr-CA
lo-LA
en-GB
bn-BD
et-EE
ka-GE
ky-KG
km-KH
zh-HK
si-LK
mk-MK
ur-PK
sq-AL
hy-AM
my-MM
zh-CN
pa-IN
ta-IN
te-IN
ml-IN
en-IN
kn-IN
mr-IN
gu-IN
mn-MN
ne-NP
pt-BR
gl-ES
es-ES
eu-ES
is-IS
es-US
pt-PT
en-AU
zh-TW
ms-MY
az-AZ
kk-KZ
uz-UZ
Locales should be language_country
For example uz_UZ, rather than the uz-UZ you put. (Note the hyphen versus underscore).

Hope that helps.
SlideME Team

I’m not sure how you’re using this, but there appears to be a couple of different ways to get the language/locale:

– Print the operating system’s read-only preferences
print( system.getPreference( “ui”, “language” ) ) – Print the UI (device) language, i.e. “en-US”
print( system.getPreference( “locale”, “country” ) ) – Print the locale country, i.e. “US”
print( system.getPreference( “locale”, “identifier” ) ) – Print the locale language identifier, i.e. “en_US”
print( system.getPreference( “locale”, “language” ) ) – Print the locale language code, i.e. “en”

Notice that the “ui” option gets “en-US” while the “locale” options with “identifier” returns “en_US”. I’m pretty sure we just return values from the OS. 

Rob

Rob,

I am not using this in any way.

Are this values defined in Android manifest maybe?

Why are they saying this:

_ “Your app defines the following invalid locales:” _

Where can I define the locales?

I don’t know if we have any expertise with SlideMe. It’s not a store we formally support. I’ll run it by a couple of Engineers, maybe it will trigger some thought with them.

Rob

Thank you, SlideMe is a store where you can get a lot of downloads.

What plugins are you using?  We don’t inject any locale information into the APK.

Rob

Here are the plugins:

    plugins =

{

[“plugin.google.play.services”] = { publisherId = “com.coronalabs” }, 

[“plugin.facebook.v4”] = { publisherId = “com.coronalabs” },  

[“plugin.mwc”] = { publisherId = “com.xibalbastudios” },

}

Tried to remove the mvc plugin but got the same error :frowning:

Here is what I got as a response from the SlideMe team.

Corona team, what can be done ?

Your app defines the following invalid locales:
fr-CA
lo-LA
en-GB
bn-BD
et-EE
ka-GE
ky-KG
km-KH
zh-HK
si-LK
mk-MK
ur-PK
sq-AL
hy-AM
my-MM
zh-CN
pa-IN
ta-IN
te-IN
ml-IN
en-IN
kn-IN
mr-IN
gu-IN
mn-MN
ne-NP
pt-BR
gl-ES
es-ES
eu-ES
is-IS
es-US
pt-PT
en-AU
zh-TW
ms-MY
az-AZ
kk-KZ
uz-UZ
Locales should be language_country
For example uz_UZ, rather than the uz-UZ you put. (Note the hyphen versus underscore).

Hope that helps.
SlideME Team

I’m not sure how you’re using this, but there appears to be a couple of different ways to get the language/locale:

– Print the operating system’s read-only preferences
print( system.getPreference( “ui”, “language” ) ) – Print the UI (device) language, i.e. “en-US”
print( system.getPreference( “locale”, “country” ) ) – Print the locale country, i.e. “US”
print( system.getPreference( “locale”, “identifier” ) ) – Print the locale language identifier, i.e. “en_US”
print( system.getPreference( “locale”, “language” ) ) – Print the locale language code, i.e. “en”

Notice that the “ui” option gets “en-US” while the “locale” options with “identifier” returns “en_US”. I’m pretty sure we just return values from the OS. 

Rob

Rob,

I am not using this in any way.

Are this values defined in Android manifest maybe?

Why are they saying this:

_ “Your app defines the following invalid locales:” _

Where can I define the locales?

I don’t know if we have any expertise with SlideMe. It’s not a store we formally support. I’ll run it by a couple of Engineers, maybe it will trigger some thought with them.

Rob

Thank you, SlideMe is a store where you can get a lot of downloads.

What plugins are you using?  We don’t inject any locale information into the APK.

Rob

Here are the plugins:

    plugins =

{

[“plugin.google.play.services”] = { publisherId = “com.coronalabs” }, 

[“plugin.facebook.v4”] = { publisherId = “com.coronalabs” },  

[“plugin.mwc”] = { publisherId = “com.xibalbastudios” },

}

Tried to remove the mvc plugin but got the same error :frowning: