How can I get the system language in C/C++? Like en_US or en_GB.
On a POSIX system, it looks like setlocale(LC_CTYPE, NULL); would return the current locale.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With