How can I detect the OS default language in Julia? I expected there maybe to be a Sys variable, but there doesn’t seem to be one. In python there is a locale package.
How can I detect the OS default language in Julia? I expected there maybe to be a Sys variable, but there doesn’t seem to be one. In python there is a locale package.
julia> ENV["LANG"]
"en_US.UTF-8"
This should work on Linux, at least. I'm not sure about Windows.