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):
- 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