Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
localestring:getstring
Returns a localized value for a string.
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).
Error Numbers
The possible values of
errnoinclude:
Value Description -103 Missing or invalid SystemLocaleString table. -10004 Missing required attribute.
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.