lc_get (public)

 lc_get [ -locale locale ] key

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

Get a certain format string for the current locale.

Switches:
-locale (optional)
Parameters:
key (required)
the key of for the format string you want.
Returns:
the format string for the current locale.
Author:
Lars Pind <lars@pinds.com>

Testcases:
lang_test__lc_content_size_pretty
Source code:
    # All localization message keys have a certain prefix
    set message_key "acs-lang.localization-$key"

    # Set upvar level to 0 so that no attempt is made to interpolate variables
    # into the string
    # Set translator_mode_p to 0 so we don't dress the message up with a link to translate
    return [lang::message::lookup $locale $message_key {} {} 0 0]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-lang/tcl/localization-procs.xql

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