Information regarding userlocale

Hi, I understand that userlocale is able to return the locale designation provided by the user’s device. However, I realised that the userlocale will depend on the user device language in the setting. For example, if a user based in America and his language set on his device is Chinese, the user locale shown and recorded in my app will be zh-cn.

As an app creator, I would like to lock the the userlocale based on where the user is using the app instead of recording the userlocale based on the language set on the user device? Can anyone advice how it can be done? Thank you.

1 5 264
5 REPLIES 5
Top Labels in this Space