- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 08:29 PM
E.g.: If user's location is Germany, when he logins to Service Portal, the display language automatically switch to German without any human action.
I know user can manually change the language in User preferences in the profile, but we are looking for an automation without any action required from end user.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2022 05:33 AM
So, simple answer is yes but requires a little bit of logic. Whilst the Tokyo release has brought in a new self-service language picker for some portals (as I detail in my blog post here) that doesn't solve the automated first value right?
What you could do, is as your new user records are populating the [sys_user] table, you could have a business rule run on Before Insert where you have a new "Country Code" or 'Location" (what-ever matches your under-pinning data model) and in that Business Rule you could set the "preferred_language" field to the appropriate language.
Be mindful, that it might not be perfect because some countries might have more than one Language (e.g. Belgium and Canada) and some Coutries might share the same language (e.g. Austria, Germany and Switzerland) - this is concept is known as "Locales" which we do now support in the Tokyo release. Suffice to say, you will need to map out what languages you offer vs the countries you operate in, but absolutely do-able with a short and simple business rule,
Many thanks,
kind regards
Director of Globalization Deployment, Internationalization

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 08:46 PM
Hi Rebecca,
You can go with this approach as well : Language Switch on Service Portal
Also, refer to this doc : User specific language
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 01:13 AM
With Tokyo release, language picker widget will be available for Service Portal. That would be helpful for this question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 02:36 AM
Hello,
You can write Business rule on user preference table which will set user's language based on country, BR is simple and there is no OOB solution for this.
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 10:01 PM
That's What i said in the above Reply!!
Refer to this :Language Switch on Service Portal
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep