lang::conn::locale (public)

 lang::conn::locale [ -package_id package_id ] [ -site_wide ] \
    [ -user_id user_id ]

Defined in packages/acs-lang/tcl/locale-procs.tcl

Get the locale for this request, perhaps for a given package instance.

Switches:
-package_id
(optional)
The package for which you want to get the locale.
-site_wide
(boolean) (optional)
Set this if you want to get the site-wide locale.
-user_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_get_locales test_get_locales (test acs-lang) lang::conn::locale lang::conn::locale test_test_get_locales->lang::conn::locale lang::conn::locale_not_cached lang::conn::locale_not_cached (private) lang::conn::locale->lang::conn::locale_not_cached lang::conn::charset lang::conn::charset (public) lang::conn::charset->lang::conn::locale lang::conn::language lang::conn::language (public) lang::conn::language->lang::conn::locale xo::ConnectionContext proc require xo::ConnectionContext proc require xo::ConnectionContext proc require->lang::conn::locale xowiki::locales xowiki::locales (private) xowiki::locales->lang::conn::locale

Testcases:
test_get_locales
[ show source ]
Show another procedure: