How to detect system language?
-
- Posts: 4
- Joined: Thu Nov 26, 2020 3:06 pm
How to detect system language?
Is there a way for a homebrew app to know which language the console is currently set to? I couldn't find anything in the examples or here on the forum.
Re: How to detect system language?
setInitialize/setGetSystemLanguage/setMakeLanguage/setExit should do the trick, I think.
https://github.com/switchbrew/libnx/blo ... #L865-L883
Also see how hbmenu does it: https://github.com/switchbrew/nx-hbmenu ... .c#L17-L21
https://github.com/switchbrew/libnx/blo ... #L865-L883
Also see how hbmenu does it: https://github.com/switchbrew/nx-hbmenu ... .c#L17-L21
Donate to devkitPro - help us stay alive!
Who is online
Users browsing this forum: No registered users and 0 guests