lang::system::site_wide_locale (public)
lang::system::site_wide_locale
Defined in packages/acs-lang/tcl/locale-procs.tcl
Get the site-wide system locale setting.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- locale__test_system_package_setting, ad_context_bar_multirow
Source code: set parameter_locale [parameter::get -package_id [apm_package_id_from_key "acs-lang"] -parameter "SiteWideLocale" -default "en_US"] # Check validity of parameter setting set valid_locales [lang::system::get_locales] if {$parameter_locale ni $valid_locales} { ns_log Error "The parameter setting acs-lang.SiteWideLocale=\"$parameter_locale\" is invalid. Valid locales are: \"$valid_locales\". Defaulting to en_US locale" return en_US } return $parameter_localeXQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-lang/tcl/locale-procs.xql