User Documentation
Developer Documentation
Common code for language and locale settings.
get_locale
Get the current locale for the category (can be overriden by config).
get_lang
Get the current language for the category (can be overriden by config).