Automatically view Knowledge Article in Preferred Language
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 02:21 AM
Hi Team ,
In Employee service portal the KB articles are appearing in English by default even the user's Preferred Language is other than English. When clicked on the dropdown(shown below) we are able to select the KB Article in Preferred language . Could you please suggest how we can view the KB article directly in user's preferred language instead of selecting it from drop-down.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 03:04 AM
Hi
in the widget which is responsible for displaying the KB article, you will have to add the following code line withing the server script section:
data.language = gs.getUser().getLanguage();
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 03:45 AM
Hi @Maik Skoddow , i have add this to my server script but not working can you provide more info please where to add it in the script and should i add something else in client scritp also ?