lang::conn::browser_locale (private)

 lang::conn::browser_locale

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

Get the users preferred locale from the accept-language HTTP header.

Returns:
A locale or an empty string if no locale can be found that is supported by the system
Authors:
Lars Pind
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_locale__test_lang_conn_browser_locale locale__test_lang_conn_browser_locale (test acs-lang) lang::conn::browser_locale lang::conn::browser_locale test_locale__test_lang_conn_browser_locale->lang::conn::browser_locale lang::conn::get_accept_language_header lang::conn::get_accept_language_header (private) lang::conn::browser_locale->lang::conn::get_accept_language_header lang::system::get_locales lang::system::get_locales (public) lang::conn::browser_locale->lang::system::get_locales lang::util::default_locale_from_lang lang::util::default_locale_from_lang (public) lang::conn::browser_locale->lang::util::default_locale_from_lang lang::conn::locale_not_cached lang::conn::locale_not_cached (private) lang::conn::locale_not_cached->lang::conn::browser_locale lang::test::assert_browser_locale lang::test::assert_browser_locale (private) lang::test::assert_browser_locale->lang::conn::browser_locale

Testcases:
locale__test_lang_conn_browser_locale
[ show source ]
Show another procedure: