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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to update localization value in runtime without refreshing page

Velkumar
19-Tanzanite

How to update localization value in runtime without refreshing page

Hi all,

 

In mashup, I have a dropdown to select/change language for the user.

 

Velkumar_0-1636957810169.png

 

Whenever dropdown value changed I'm setting user language preference through service. The problem is localization values are not updating until I refresh the mashup manually. I tried using navigation function also still didn't work. 

 

Could any one help me to solve this. I want localization value should be updated automatically 

 

/VR

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:Velkumar)

the only way is to use the refresh, you can trigger a refresh using the expression widget so a user doesn't have to manually hit refresh.

You should be able to use location.reload()

View solution in original post

2 REPLIES 2
PaiChung
22-Sapphire I
(To:Velkumar)

the only way is to use the refresh, you can trigger a refresh using the expression widget so a user doesn't have to manually hit refresh.

You should be able to use location.reload()

Velkumar
19-Tanzanite
(To:PaiChung)

Thanks @PaiChung  It worked.

 

I also used a link widget to reload the page that too worked but the expression method makes more sense.

 

/VR

Announcements


Top Tags