Home > Contents > Index >
LOCALESTRING.GETSTRING
Returns a localized value for a string based on the
LOCALEvalue.Syntax
<LOCALESTRING.GETSTRING NAME="name of string" LOCALE="locale" [OUTPUT="variable name"] [RESOLVE="true"]>
<LOCALESTRING.ARGUMENT NAME="name1" VALUE ="value1"/>
<LOCALESTRING.ARGUMENT NAME="nameN" VALUE ="valueN"/>
</LOCALESTRING.GETSTRING>Parameters
NAME (required)- Defines string name. We recommend using a naming convention to make further localization easier.
LOCALE (required)- Five-character locale name, for example,
EN_US.
OUTPUT (optional)- If specified, a variable is created by the requested name with the locale-specific value, otherwise, the value is streamed.
RESOLVE (optional)- If set to
true, this parameter specifies that the localized value has variables that should be replaced using the rules for recursive Sites variable replacement($(Variables.name1)syntax).
Error Numbers
The possible values of
errnoinclude:
Value Description -103 Missing or invalid SystemLocaleString table -10004 Missing required attributeRelease Introduced
This tag was introduced in CS release 5.0.
See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.