gluonhq/attach

Add Support to retrieve Device-Language

Opened this issue · 0 comments

Per Default, GraalVM sets the Locale of the Machine used for compiling into the executable.

A computer with a French locale for example therefore will create an IPA that returns Locale.FRENCH when querying Locale.getDefault()

For proper internationalization I would like to use the language on the iOS / Android / Windows device of the User as default. Right now I have to have the user select his preferred language. But in about 99% of the cases it will be the same language, the Device already has selected, or English if the users native language is not available.

Can this be added or is this already a thing, I couldnt find?