lang::util::nls_language_from_language (public)

 lang::util::nls_language_from_language language

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

Returns the nls_language name for a language

Parameters:
language - Name of a country, using ISO-3166 two letter code
Returns:
The nls_language name of the language.
Author:
Henry Minsky <hqm@mit.edu>

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_get_locales test_get_locales (test acs-lang) lang::util::nls_language_from_language lang::util::nls_language_from_language test_test_get_locales->lang::util::nls_language_from_language db_string db_string (public) lang::util::nls_language_from_language->db_string packages/acs-templating/tcl/spellcheck-init.tcl packages/acs-templating/ tcl/spellcheck-init.tcl packages/acs-templating/tcl/spellcheck-init.tcl->lang::util::nls_language_from_language

Testcases:
test_get_locales
Source code:
    return [db_string nls_language_from_language {
        select nls_language
        from   ad_locales
        where  lower(trim(language)) = lower(:language)
          and  enabled_p = 't'
        fetch first 1 rows only
    }]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-lang/tcl/lang-util-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: