Skip to content Skip to sidebar Skip to footer

Android, Language Files Not Work

I'm creating a android app now and try to add language file for my native language. But in some way this not work for me, has try to load the app in two different phone with same r

Solution 1:

You're using the Sweden top level domain name abbreviation, which is not what you're supposed to use in this case.

The Android localization code for Swedish from Sweden is values-sv-rSE

sv is the actual code for the language Swedish

Solution 2:

from android documentation

The language is defined by a two-letter ISO 639-1 language code, optionally followed by a two letter ISO 3166-1-alpha-2 region code (preceded by lowercase r).

The codes are not case-sensitive; the r prefix is used to distinguish the region portion. You cannot specify a region alone.

Post a Comment for "Android, Language Files Not Work"