Forum Discussion
Wendall
9 years agoExplorer
Localization in Unity
I'm in the process of setting up the different languages for our game. Unfortunately, I cannot find any documentation on how to get the current language setting which is set in the Oculus app. Inside ...
glenneroovy
4 years agoProtege
Sorry to necro this thread 3 years later... but I tried to call Oculus.Platform.CAPI.ovr_GetLoggedInUserLocale() to get the system language and it crashes Unity.
Is there a recommended way to get the system Locale?
EDIT: Nevermind, the solution is to call Users.GetLoggedInUserLocale() after calling Oculus.Platform.Core.AsyncInitialize(APPID); This returns for me "en-US-u-rg-uszzzz". I wonder if there is a list of Locales somewhere?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago