iOS devices detect Device Language Region

More
5 years 4 months ago #3317 by yuewah
Android devices now properly detect the Device Language Region (no longer using Unity's Application.SystemLanguage)

Is it possible that iOS devices also support device language region ?

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #3474 by yuewah
any response to this feature request?

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #3475 by Frank
Hi,
Sorry for the delay, I have that almost ready, it now detects the language and region directly using the IOS functions, just need to convert the returned format/code into the one used by I2 Localization.
However, i have been overwhelmed with some urgent fixes I had to do and also with the release of the other assets.

But as soon as things get back to normal, I will finish up that code and upload a build with it.
Again, sorry the delay.
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #3513 by studenman
This thread explains a solution that uses the free PreciseLocale plug-in.

Follow Tiny Bubbles Development:
Twitter | Facebook | Web

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #3690 by yuewah
which version include this get IOS language region ?

Please Log in or Create an account to join the conversation.

More
3 years 6 months ago - 3 years 6 months ago #4173 by llopez
Hi there,

I found this issue still happens, tested with the last version updated on 10/05/2020.

Environment:
  • Unity 2019.4.9f1
  • iOS 13.7
  • I2 Localization 2.8.13f1
  • Language: Spanish (Peru)
  • Region: Peru

I2.Loc.LocalizationManager.CurrentCulture returns "es-ES", "es-PE" expected
I2.Loc.LocalizationManager.CurrentLanguage returns "Spanish", as expected.
I2.Loc.LocalizationManager.CurrentRegion returns empty, "Peru" expected.
I2.Loc.LocalizationManager.GetCurrentDeviceLanguage() returns "Spanish", "Spanish (Peru) expected.

Localization variant es-PE doesn't work either, always returns de es-ES translation.

In Android all works fine.

Could you help us with this? Has anybody managed to fix it?

Thanks.
Luis
Last edit: 3 years 6 months ago by llopez.

Please Log in or Create an account to join the conversation.

Time to create page: 0.409 seconds
Template by JoomlaShine