Hi dears. How can i use multilanguage feature with pl/sql. For example follwoing line works excellent. <textlabel font-color="Gray" name="passWordErrorLabel" label="#{lang.entr_passwd_here}"/> It automatically changes text based on selected language. But in some circumstances i need to return error text from pl/sql based on selected langugage. Following is not worked for me. api_component.setvalue ('loginPanel.passWordErrorLabel','#{lang.entr_passwd_here}'); |
Hi Javid, You should use api_component.setLabel API while setting the label of a textlLabel component. In the following example:
The translated value based on the selected language should be displayed on your textLabel component. What's happening in you case? What's not working for you? If you need the translated value of a multilingual key in the selected language, you can use api_application.getMultilingualValue API:
Best Regards, Great Thanks Ibrahim. It seems multilanguaging doesn't work when using undersocer in keys. i changed entr_passwd_here key to enterPasswordHere and it worked for me.
(07 Apr '13, 07:19)
Javid Hasanov
|