0 Replies Latest reply: Dec 15, 2013 5:20 AM by Hani RSS

    Multilanguage button

    Hani

      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