lang::util::get_label (public)

 lang::util::get_label locale

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

Returns the label (name) of locale

Parameters:
locale (required)
Code for the locale, eg "en_US"
Returns:
String containing the label for the locale
Author:
Bruno Mattarollo <bruno.mattarollo@ams.greenpeace.org>

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_get_locales test_get_locales (test acs-lang) lang::util::get_label lang::util::get_label test_test_get_locales->lang::util::get_label db_string db_string (public) lang::util::get_label->db_string packages/acs-lang/www/admin/batch-editor.tcl packages/acs-lang/ www/admin/batch-editor.tcl packages/acs-lang/www/admin/batch-editor.tcl->lang::util::get_label packages/acs-lang/www/admin/edit-description.tcl packages/acs-lang/ www/admin/edit-description.tcl packages/acs-lang/www/admin/edit-description.tcl->lang::util::get_label packages/acs-lang/www/admin/edit-localized-message.tcl packages/acs-lang/ www/admin/edit-localized-message.tcl packages/acs-lang/www/admin/edit-localized-message.tcl->lang::util::get_label packages/acs-lang/www/admin/export-locale-to-files.tcl packages/acs-lang/ www/admin/export-locale-to-files.tcl packages/acs-lang/www/admin/export-locale-to-files.tcl->lang::util::get_label packages/acs-lang/www/admin/import-locale-from-files.tcl packages/acs-lang/ www/admin/import-locale-from-files.tcl packages/acs-lang/www/admin/import-locale-from-files.tcl->lang::util::get_label

Testcases:
test_get_locales
Source code:
    return [db_string select {}]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="lang::util::get_label.select">
    <querytext>
        select label 
          from ad_locales
         where lower(locale) = lower(:locale)
      </querytext>
</fullquery>
packages/acs-lang/tcl/lang-util-procs.xql

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