setting language for an user dynamically based on the parameters we passed to the portal via url.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 08:14 AM - edited 04-08-2024 08:15 AM
Hi,
I am building a portal by using "Ui builder" , where I had created a page where table , sysid are required parameters.
Now, i need to change the language based on the field value which is fetched from the page parameter sysid record.
if the field value is "colmbia" , i need to change the language of the page to "spanish" , otherwise i need to keep english.
please suggest an approach!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 08:24 AM
User preferred language is stored in User Preference (sys_user_preference).
Hence, based on the field value, you would need to update or insert record in this table for Name field as 'user.language'.
Regards,
Sharad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 10:04 AM
Hi Sharad,
I had updated the user.language record value then it was not changed instantly, i need log out and login for reflect the user preference value then only it was reflecting. I need that user preference to reflect instantly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 02:30 AM
It was working thanks