I have created a multi language APEX application in the guidance of Oracle APEX 5.0: Managing Application Globalization. I have translated all Interactive Report Messages (ie. APEXIR_*
) to several languages. However, I cannot use/refer those messages in HTML/Javascript.
I have tried the methods mentioned in Oracle APEX: Understanding Substitution Strings: Neither &APEXIR_HELP.
, nor #APEXIR_HELP#
worked.
There is a suggestion to use APEX_LANG.MESSAGE
in Oracle APEX:Translating Messages. However, that method seem to work with PL/SQL queries. I do not know how to use that in HTML or Javascript.
NOTE: The technical requirement is to show APEXIR_HELP
translations in GUI. ie. "Help" must be placed in English translation and "Hilfe" in Dutch translation in place of &APEXIR_HELP.
in the code below:
<span style="margin-right: 15px"><a href="&P_HELP_LINK./0&APP_ID..htm" target="_blank"><font style="text-transform: capitalize;">&APEXIR_HELP.</font></a></span>
Edit1: I use APEX 5.0 and the result of WWV_FLOW_MESSAGES query is:
FLOW_ID NAME MESSAGE_LANGUAGE MESSAGE_TEXT IS_JS_MESSAGE
113 APEXIR_HELP en Help Y
113 APEXIR_HELP en-us Help Y
113 APEXIR_HELP tr Yardım Y
<header id="uHeader"> <div class="apex_grid_container clearfix"> <div class="apex_cols apex_span_12"> <div class="logoBar"> <div class="userBlock">
section of 25th template.