Using Oracle APEX Interactive Report Messages in HTML/Javascript -


i have created multi language apex application in guidance of oracle apex 5.0: managing application globalization. have translated interactive report messages (ie. apexir_*) several languages. however, cannot use/refer messages in html/javascript.

i have tried methods mentioned in oracle apex: understanding substitution strings: neither &apexir_help., nor #apexir_help# worked.

there suggestion use apex_lang.message in oracle apex:translating messages. however, method seem work pl/sql queries. not know how use in html or javascript.

note: technical requirement show apexir_help translations in gui. ie. "help" must placed in english translation , "hilfe" in dutch translation in place of &apexir_help. in 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: use apex 5.0 , result of wwv_flow_messages query is:

flow_id   name          message_language   message_text   is_js_message 113       apexir_help   en                           y 113       apexir_help   en-us                        y 113       apexir_help   tr                 yardım         y 

you can't use internal messages (like apexir_help) in html/javascript code. so, apexir_help message appeares in ir report menu. can translate own language (via globalization -> text messages), , then, appear in menu translated. if want use own translated messages, try this:

  1. add new message in globalization -> text messages (for example: my_help_message).
  2. add new item page (for example p1_item1), source of item is: apex_lang.message('my_help_message', v('app_user'));
  3. then use &p1_help. in html/javascript code.

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -