Is it possible to bind Service Portal language based on user's location automatically?

Rebecca_J
Tera Contributor

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.

1 ACCEPTED SOLUTION

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

@Rebecca,

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

View solution in original post

5 REPLIES 5

Community Alums
Not applicable

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

Rebecca_J
Tera Contributor

With Tokyo release, language picker widget will be available for Service Portal. That would be helpful for this question.

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

Please hit like and mark my response as correct if that helps
Regards,
Musab

Community Alums
Not applicable

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