Detect system language on Android and iOS
Is there a simple way to get the system language on Android and iOS? For Flash I use "flash.system.Capabilities.language", but I haven't found a way to do that for mobile without creating an extension.
Will do, thanks :)
This is an old topic, but I just noticed that
openfl.system.Capabilities.languagedoesn't show the country code along with the language. For example, it doesn't distinguish between Brazilian Portuguese (pt-BR) and European Portuguese (pt-PT); it returns "pt" in either case. Is there any way to get the country code or location as well?