system-locale
2024-10-12
System locale and language discovery
Upstream URL
Author
Yukari Hafner <[email protected]>
Maintainer
Yukari Hafner <[email protected]>
License
zlib
About System-Locale
This library retrieves locale information configured on the system. This is helpful if you want to write applications and libraries that display messages in the user's native language.
How To
Primarily you'll want to use the functions locale
and language
to retrieve the information. You can also setf
them if you want to force a particular setting.
(system-locale:locale) ; => "en_GB.UTF-8"
(system-locale:language) ; => "en"
The functions discover-active-locales
and discover-active-languages
describe how the locale and language discovery is handled.