THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Code Block |
---|
<ww:textfield label="%{getText('i18n.label')}" name="'label1'" value="''"/> |
This Thihs will get the localized text message for the key "i18n.labelkey" and put it in the label.
Alternatively, portion of controlheader-core.ftl in /template/xhtml could be modified (if xhtml theme is being used), as follows :-
Code Block |
---|
${parameters.label?html}:<#t/>
|
Code Block |
---|
<#assign mm<ww:textfield label="getText('i18n"+parameters.label?html+"')" name="'label1'" value="''"> |
...
/><#t/>
${stack.findValue(mm)}:<#t/>
|
such that using text tag like following will work as well (such that the label printed will be i18n).
Code Block |
---|
<ww:textfield label="i18n.label" name="label1" />
|