Detecting system language in Julia

Viewed 64

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.

1 Answers
 julia> ENV["LANG"]
 "en_US.UTF-8"

This should work on Linux, at least. I'm not sure about Windows.

Related