- Home /
How do I detect the device locale across all platforms
Hi,
I am trying to detect the difference between British and US English across all platforms. Unfortunately everything I have tried so far does not do what I need.
The system language just returns English for both as far as I can tell. CultureInfo.CurrentCulture.Name returns a blank string on Mac.
Searching for answers so far has implied that I need to write plug-ins for each platform, which I would rather avoid having to do. Is there now a Unity cross platform function to handle this and provide the locale? i.e. "en-GB" and "en-US"
Cheers James
Your answer
Follow this Question
Related Questions
Best way to store settings? 1 Answer
txt file line endings differ from policy settings 1 Answer
Text field/area (Dialogue box) help 0 Answers
Error with OnSerializeNetworkView and INT 1 Answer
Change TextMesh text in script 1 Answer