The CreatorCon Call for Content is officially open! Get started here.

How to force French language only for Employee Center portal (not backend)?

Abdelkader TABA
Tera Expert

Hi Community,

We have a requirement where our Employee Center portal (Service Portal) must always display in French, regardless of the user’s language preference or session language. However, we want users to keep their backend UI (platform) in English or their preferred language.

Is there a standard, supported way to force the portal language to French only, without impacting the rest of the user's experience (i.e., without setting sys_user.language to French)?

We’ve considered:

  • Adding ?lang=fr to the URL → works, but not ideal for all entry points

  • Using gs.getSession().setLanguage('fr') in widgets → doesn’t persist reliably or triggers late

  • Injecting redirection scripts in layout or theme → works but not fully standard

Is there any built-in configuration (in sp_portal, sp_page, etc.) that allows portal-level language control?

Thanks in advance for your help and best practices!
AT

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Abdelkader TABA 

My thoughts:
-> Service Portal language is driven by the user’s session language, their user profile (sys_user.language), or explicit ?lang=fr URL parameters

-> There is no Service Portal property (e.g., in sp_portal or sp_page) to force a language for all sessions independent of user/system settings

-> you can try to use OOTB language selector for your portal but nothing is present for Core UI

Need to add a Language Selector for your portal (including external and non-authenticated users?) - ... 

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

@Abdelkader TABA 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader