Hello,
I need to take the current language set on the Xbox console settings and then set that to my game when launched. Is there an API call (C#) on the Xbox One API to do it? How can I access that information?
Thanks
Unity - Scripting API: Application.systemLanguage worked ok for me on the XBox
Thanks for the answer, unfortunately that only works in the editor for me⦠could it be that the console is in developer mode? Did you try like that?
Thatās odd, Iāve definitely used that on XBox titles that have been gone through Microsoft QA and been released so it seems to work ok for me.
I just found this on a topic:
āmake sure the language is listed in your AppxManifest.xml. I think Unity ignores telling you about xbox system languages if you donāt have entries for them in the AppxManifest.ā
So maybe it is not working because I didnāt do this⦠Did you know about that?
Ah, ok - that makes sense. I set up the languages in Build Settings(Select Xbox One as your target)->Player Settings. Go to āPublishing Settingsā in the inspector window and then select the languages in āSupported Languagesā.
Thank you!!! Problem solved!!