cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

language parameter in url

Former Member
0 Likes
7,118

Hey Guys,

Is there a way in the url into the portal to pass the language as a parameter in the url?

like: http://server/irj/index.html?language=en

or something?

Thanks,

-Kevin

View Entire Topic
Former Member
0 Likes

Hi again,

I've solved this issue.

I've created various anonymous users with correcponding languages: Guest_EN, Guest_FR, etc.

to change the language I go to jsp that delete actual session and redirect to anonymous language page.

this is the jsp:

<% request.getSession(true).invalidate(); %>

<script language="JavaScript">

<!-- start hiding

function Load() {

self.close();

}

// end hiding -->

</script>

<body onload='Load()'>

<SCRIPT LANGUAGE="JavaScript">

window.location="http://host/irj/portal/anonymous?guest_user=Guest_EN";

// -->

</script>

</body>

This jsp is hosted on /irj directory and in the portal I can use various links to access to http://host/irj/gotoES.jsp

thanks!

david

Former Member
0 Likes

Dear David,

We are providing the two languages in portal those are English and Marathi.

I've the same situation. If I use the /irj/portal/anonymous access the user give the language settings of your browser.

If I use /irj/portal/anonymous?guest_user=Marathi I can see the portal in marathi ... but I cannot change the language(/irj/portal/anonymous?guest_user=English).

(Where Marathi is Indian language)

Here to change the language its  going to jsp but its not  delete actual session and redirect to anonymous language page.

Please kindly suggest how to delete the actual session and redirect to anonymous language page.

Regards
Apps