Employee center topic translation

sayan3
Tera Contributor

Hello Experts,
Need help on highlighted part of attached image.
For MSG: TRT: IT topics, we found that IT can be  translated through TRT table but not able to find "topics" translation 
which table shall we update/create for topic translation?
We want to translate in German like topics = Themen Zum

Any help would be highly appreciated.
@jMarshal 

sayan3_0-1736838185961.png

 




Thanks

1 ACCEPTED SOLUTION

Hello @sayan3 

Few things you need to check:

1) Server side script

  • Check the server side script in the widget.
  • If it is OOTB then (name -Sub-Topics, id - content_taxonomy_topic_subtopics)

The server side script looks something like thisJuhiPoddar_0-1736921397719.png

In the highlighted part you can see {0} topic. This is stored in sys_ui_message table.

2) sys_ui_message table

  • Look for  {0} topic in the message table for the desired language.
  • Record should look something like this

JuhiPoddar_1-1736921636536.png

Update the message according to your requirement

3) Look for the same in portal after changing the language

JuhiPoddar_2-1736921795308.png

Note: Make sure the plugins are installed for the language you are working upon.

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

 

View solution in original post

8 REPLIES 8

Community Alums
Not applicable

Juhi Poddar
Kilo Patron

Hello @sayan3 

You need to create a translation record in sys_ui_message table for this.

The form contains key, language and the message field.

key: MSG: TRT: IT topics

language: Select the preferred language

Message: Translated text

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

Hi @Juhi Poddar ,
using key IT topics in ui message its not working
IT  is coming from trt table not ui message but unable to locate topics.

Hello @sayan3 

After analyzing and testing in my PDI, I found that the message "MSG: TRT: IT topics" is divided into two parts. Let me explain this with an example from my PDI.

  • In the image below, you can see the heading topic "Personalwesen", which appears in two places. This is because a translation record has been created in the sys_translated_text table for this specific heading.

JuhiPoddar_1-1736854339868.png

Moving to the second part:

  • The word "topic" gets translated based on the entry in the sys_ui_message table.
    For example, in the image, you can see that "topic" is translated to "Themenss" in German (Deutsch).
  • To find this translation, search for the key "{0} topic" in the sys_ui_message table.
    This key is used in the scripting for the sub-topic widget, which dynamically inserts the placeholder {0} with the relevant value (e.g., "IT").

JuhiPoddar_2-1736854439377.png

Note: I recommend searching for "{0} topic" in the sys_ui_message table to locate the translation record in your environment.

Feel free to reach out if you need further clarification on this!

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar