_ |
|
Short hand proc that invokes the lang::message::lookup proc. |
clock_to_ansi |
|
Convert a time in the Tcl internal clock seconds format to ANSI format, usable by lc_time_fmt. |
lang::audit::changed_message |
|
Save a message that is overwritten. |
lang::catalog::export |
|
Exports I18N messages from the database to XML catalog files. |
lang::catalog::import |
|
Import messages from catalog files to the database. |
lang::catalog::package_catalog_dir |
|
Return the catalog directory of the given package. |
lang::catalog::package_delete |
|
Unregister the I18N messages for the package. |
lang::conn::charset |
|
Returns the MIME charset name corresponding to the current connection's locale. |
lang::conn::language |
|
Get the language for this request, perhaps for a given package instance. |
lang::conn::locale |
|
Get the locale for this request, perhaps for a given package instance. |
lang::conn::timezone |
|
Get this connection's timezone. |
lang::message::cache |
|
Loads the entire message catalog from the database into the cache. |
lang::message::check |
|
<p>
Check a message for semantic and sanity correctness (usually called just before a message is registered). |
lang::message::delete |
|
Deletes a message in a particular locale. |
lang::message::embedded_vars_regexp |
|
The regexp pattern used to loop over variables embedded in
message catalog texts. |
lang::message::format |
|
Substitute all occurencies of %array_key%
in the given localized message with the value from a lookup in the value_array_list
with array_key (what's between the percentage sings). |
lang::message::get |
|
Get all properties of a message in a particular locale. |
lang::message::get_embedded_vars |
|
Returns a list of embedded substitution variables on the form %varname% in a message. |
lang::message::lookup |
|
This proc is normally accessed through the _ procedure. |
lang::message::message_exists_p |
|
Return 1 if message exists in given locale, 0 otherwise. |
lang::message::register |
|
<p>
Registers a message for a given locale and package. |
lang::message::unregister |
|
Unregisters a message key, i.e. |
lang::message::update_description |
|
Update the description of a message key. |
lang::system::get_locale_options |
|
Return all enabled locales in the system in a format suitable for the options argument of a form. |
lang::system::get_locales |
|
Return all locales defined in the system. |
lang::system::language |
|
Get system language setting for a given package instance. |
lang::system::locale |
|
Get system locale setting for a given package instance. |
lang::system::locale_set_enabled |
|
Enables or disables a locale. |
lang::system::package_level_locale |
|
|
lang::system::set_locale |
|
Set system locale setting for a given package instance, or the
site-wide system locale. |
lang::system::set_timezone |
|
Tell OpenACS what timezone we think it's running in. |
lang::system::site_wide_locale |
|
Get the site-wide system locale setting. |
lang::system::timezone |
|
Ask OpenACS what it thinks our timezone is. |
lang::system::timezone_utc_offset |
|
|
lang::system::use_package_level_locales_p |
|
Returns whether we're using package level locales. |
lang::user::language |
|
Get user language preference for a given package instance. |
lang::user::locale |
|
Get user locale preference for a given package instance. |
lang::user::package_level_locale |
|
Get the user's preferred package level locale for a package
given by its package id. |
lang::user::set_locale |
|
Set user locale setting for a given package instance. |
lang::user::set_timezone |
|
Set the user's timezone setting. |
lang::user::site_wide_locale |
|
Get the user's preferred site-wide locale. |
lang::user::timezone |
|
Get the user's timezone. |
lang::util::charset_for_locale |
|
Returns the MIME charset name corresponding to a locale. |
lang::util::convert_to_i18n |
|
Internationalising of Attributes. |
lang::util::default_locale_from_lang |
|
Returns an enabled default locale for a language. |
lang::util::edit_lang_key_url |
|
Generates the URL to edit a message key. |
lang::util::get_hash_indices |
|
Returns a list of two element lists containing
the start and end indices of a #message_key# match in the multilingual string. |
lang::util::get_label |
|
Returns the label (name) of locale |
lang::util::get_locale_options |
|
Return a list of locales know to the system |
lang::util::get_temporary_tags_indices |
|
Given the contents of an adp file return the indices of the
start and end chars of embedded message keys on the syntax:
<#package_key.message_key Some en_US text#> |
lang::util::iso6392_from_language |
|
Returns the ISO-639-2 code for a language. |
lang::util::iso6392_from_locale |
|
Returns the ISO-639-2 code for a locale. |
lang::util::lang_sort |
|
Each locale can have a different alphabetical sort order. |
lang::util::language_label |
|
Returns the ISO-639 label for a language code. |
lang::util::localize |
|
Takes a string with embedded message keys on the format #message_key_name#
and returns the same string but with the message keys (and their surrounding hash
marks) replaced with the corresponding value in the message catalog. |
lang::util::localize_list_of_lists |
|
localize the elements of a list_of_lists |
lang::util::message_key_regexp |
|
Regular expression for recognizing message keys in the form <span>#</span>package_name.key#. |
lang::util::message_tag_regexp |
|
The regexp expression used by proc get_temporary_tags_indices and elsewhere
to extract temporary message catalog tags (<#...#>) from ADP and Tcl files. |
lang::util::nls_language_from_language |
|
Returns the nls_language name for a language |
lang::util::replace_adp_text_with_message_tags |
|
Prepares an .adp-file for localization by inserting temporary hash-tags
around text strings that looks like unlocalized plain text. |
lang::util::replace_temporary_tags_with_lookups |
|
Modify the given ADP or Tcl files by replacing occurencies of message keys
with message lookups (i.e. |
lang::util::translator_mode_p |
|
Whether translator mode is enabled for this session or
not. |
lang::util::translator_mode_set |
|
Sets whether translator mode is enabled for this session or
not. |
lc_clock_to_ansi |
|
Convert a time in the Tcl internal clock seconds format to ANSI format, usable by lc_time_fmt. |
lc_content_size_pretty |
|
Transforms data size, provided in nonnegative bytes, to KB, MB... |
lc_get |
|
Get a certain format string for the current locale. |
lc_list_all_timezones |
|
|
lc_numeric |
|
Given a number and a locale return a formatted version of the number
for that locale. |
lc_parse_number |
|
Converts a number to its canonical
representation by stripping everything but the
decimal separator and trimming left 0's so it
won't be octal. |
lc_time_conn_to_system |
|
Converts a date from the connection's timezone to the system (database) timezone,
using the OpenACS timezone setting and user's preference |
lc_time_fmt |
|
Formats a time for the specified locale. |
lc_time_local_to_utc |
|
Converts a local time to a UTC time for the specified timezone. |
lc_time_system_to_conn |
|
Converts a date from the system (database) to the connection's timezone,
using the OpenACS timezone setting and user's preference |
lc_time_tz_convert |
|
Converts a date from one timezone to another. |
lc_time_utc_to_local |
|
Converts a Universal Time to local time for the specified timezone. |
template::widget::select_locales |
|
Generate a select widget for locales. |