Difference between revisions of "Extensions.I18n.GetAllLocales"
Jump to navigation
Jump to search
(Created page with "Category:i18n == Classification == {{ClassificationActivity | GetAllLocales | Retrieve all available locales | Term | OTX i18n extension | Locale settings r...") |
|||
Line 3: | Line 3: | ||
{{ClassificationActivity | GetAllLocales | Retrieve all available locales | [[Term]] | [[i18n|OTX i18n extension]] | [[Locale settings related terms ]] | - | - }} | {{ClassificationActivity | GetAllLocales | Retrieve all available locales | [[Term]] | [[i18n|OTX i18n extension]] | [[Locale settings related terms ]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | Listerm = I18n.GetAllLocales(); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 15: | Line 15: | ||
== Properties == | == Properties == | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | List<String> result = GetAllLocales(); | + | List<String> result; |
+ | result = GetAllLocales(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
[[GetCurrentLocale]] | [[GetCurrentLocale]] |
Revision as of 08:00, 10 February 2015
Contents
Classification
Name | GetAllLocales |
Short Description | Retrieve all available locales |
Class | Term |
Extension | OTX i18n extension |
Group | Locale settings related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
Listerm = I18n.GetAllLocales();
Description
The term GetAllLocales should all available locales from the runtime system call supported and are for the translations available.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | All available locales. |
Properties
OTL Examples
List<String> result;
result = GetAllLocales();