This discussion is archived
0 Replies Latest reply: Dec 15, 2013 3:20 AM by Hani RSS

Multilanguage button

Hani Explorer
Currently Being Moderated

Hi

 

I use apex 4.2.3 with XE database, i set application as session in "application language derived from" and when i call my application and put "&p_lang=ar" the translate appear.

 

What i need to create button in main page to set p_lang, this button must recall same page with translate and set alignment of page to be right-to-left

Note that i put this code in button but the problem its run 1 time

 

[code]

if nvl(apex_util.get_session_lang,'en') = 'en' then

  apex_util.set_session_lang('ar');

else

  apex_util.set_session_lang('en');

end if;

[/code]

 

 

Any suggestion

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points