Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Language Change

George YoussefOct 22 2024 — edited Oct 29 2024

Greetings all,

I'm using change language selector on navigation bar using this method

https://supphachai.medium.com/enabling-a-multilingual-support-for-oracle-apex-applications-3b09b9d7b3a2

which uses :FSP_LANGUAGE_PREFERENCE and

and process that fire when REQUEST=LANG

BEGIN
apex_util.redirect_url(p_url => '&APP_PAGE_ALIAS.'||'?session='||'&APP_SESSION.');
END;

my use case scenario : suppose you editing form page and you want to change the language of the application

it will end to clear all page items of this form

I tried to change the process to this

apex_util.redirect_url(p_url => '&APP_PAGE_ALIAS.'||'?session='||'&APP_SESSION.'|| '&cs='|| '&APP_REQUEST_DATA_HASH.');

but the problem I'm getting new request hash

i tried this also but didn't work

apex_util.redirect_url(p_url => '&APP_PAGE_ALIAS.'||'&P0_URL.');

P0_URL is global page item and it's value is getting from this JS

const queryString = window.location.search;

apex.item ("P0_URL").setValue(queryString);

This post has been answered by alacourb on Oct 28 2024
Jump to Answer
Comments
Post Details
Added on Oct 22 2024
1 comment
222 views