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

Custom variable translation not working on RITM.

Bhawna
Tera Contributor

Hello Experts,

I need to do French translation on my catalog item in the portal as well as RITM.

In my catalog item I have custom type variables. which were not getting translated by loading their translation on sys_translation table. so I used gs.getMessage() and it worked. But after submitting the ticket, custom variables are still coming in English and not in the user's preferred language. 

Please advise.

Thanks in advance,

Bhawna

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi,

If you are using widget to show this translated message on custom variable and you are accessing RITM in Native UI then try mapping UI Macro with same functionality. UI Macro will apply changes in Native UI and Widget will work on portal side.

 

Thanks,
Anil Lande

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

2 REPLIES 2

Anil Lande
Kilo Patron

Hi,

If you are using widget to show this translated message on custom variable and you are accessing RITM in Native UI then try mapping UI Macro with same functionality. UI Macro will apply changes in Native UI and Widget will work on portal side.

 

Thanks,
Anil Lande

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

Bhawna, 

This could be because the entries in the [sys_translated] table might be pointing to the "item_option_new" table when they should actually be pointing to the "question" table which is what the formatter on the form for RITM will read from,

Here's a snap shot of what I mean from our training course on NowLearning (which I recommend you check out):
find_real_file.png


Many thanks,
Kind regards

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