KB Article language not updating when updating portal language preference

Alex Edmiston1
Giga Guru

When i'm on the kb_article page in the portal, if I update my language via the language selector in the header to Spanish, it does not automatically load the translated version of that article in Spanish. Is there any solution to this? @alexcoope 

 

Screenshot 2023-07-19 at 10.59.56 AM.png

 

1 ACCEPTED SOLUTION

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

@Alex Edmiston1,

So that is technically expected behaviour, because the URL is specifically looking at the sys_id of that kb article. However, you can force the language in the parameters of the URL (e.g. via a widget script) as per the documentation here,

Many thanks,
kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization

View solution in original post

3 REPLIES 3

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

@Alex Edmiston1,

So that is technically expected behaviour, because the URL is specifically looking at the sys_id of that kb article. However, you can force the language in the parameters of the URL (e.g. via a widget script) as per the documentation here,

Many thanks,
kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization

Thanks @Alex Coope - SN . Are you able to pass the sysparm_language parameter dynamically from the language chosen in the selector instead of forced to a certain language?

I don't see why not, using this,

Many thanks,
Kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization