lang::user::locale (public)

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

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

Get user locale preference for a given package instance.

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

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_form_with_numeric create_form_with_numeric (test xowiki) lang::user::locale lang::user::locale test_create_form_with_numeric->lang::user::locale test_test_get_locales test_get_locales (test acs-lang) test_test_get_locales->lang::user::locale ad_conn ad_conn (public) lang::user::locale->ad_conn lang::user::package_level_locale lang::user::package_level_locale (public) lang::user::locale->lang::user::package_level_locale lang::user::site_wide_locale lang::user::site_wide_locale (public) lang::user::locale->lang::user::site_wide_locale auth::local::registration::Register auth::local::registration::Register (private) auth::local::registration::Register->lang::user::locale lang::user::language lang::user::language (public) lang::user::language->lang::user::locale packages/acs-lang/www/index.tcl packages/acs-lang/ www/index.tcl packages/acs-lang/www/index.tcl->lang::user::locale packages/acs-subsite/www/members/member-state-change.tcl packages/acs-subsite/ www/members/member-state-change.tcl packages/acs-subsite/www/members/member-state-change.tcl->lang::user::locale

Testcases:
test_get_locales, create_form_with_numeric
[ show source ]
Show another procedure: