l"
From Documentation
m |
m |
||
Line 9: | Line 9: | ||
Returns the label of the given key defined in [[ZK Developer's Reference/Internationalization/Labels|the internationalization labels]]. | Returns the label of the given key defined in [[ZK Developer's Reference/Internationalization/Labels|the internationalization labels]]. | ||
− | The label is based on the current Locale (<javadoc method=" | + | The label is based on the current Locale (<javadoc method="getCurrent()">org.zkoss.util.Locales</javadoc>). |
<blockquote> | <blockquote> |
Revision as of 02:49, 28 March 2011
String l(String key);
Returns the label of the given key defined in the internationalization labels.
The label is based on the current Locale (Locales.getCurrent()).
For 5.0.7 and later, an implicit object called labels was introduced, and it is more convenient to use.
For example,
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<window title="${c:l('app.title')}">
...
</window>
Version History
Version | Date | Content |
---|---|---|