how to translate variable questions specific to a Record producer. (say 'Leave type' variable which is common in many record producers ). When I added translation to this this variable, the change is affecting to all other same variables in differe

si21
Tera Guru

How to translate variable questions specific to a Record producer.  (say 'Leave type' variable  which is common in many record producers ). When I added translation to this this variable, the change is affecting to all other same leave type variables in different record producers. Any suggestions on how to do translation for a specific RP??

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Siri,

Localization (technically this is not translation), is a global function; if you localize the string "XYZ" in a given language, than any label that has "XYZ" will show the localization in the selected language. You cannot selectively decide to localize labels in one place and not another except by making the labels different. There may be a way in client script to temporarily set the user's language to the system language, but I wouldn't recommend it.

 

However, Please check my correct  answer here:https://community.servicenow.com/community?id=community_question&sys_id=d04f65e3dbbd7cd4fb115583ca96...

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

View solution in original post

4 REPLIES 4

Community Alums
Not applicable

Hi Siri,

Localization (technically this is not translation), is a global function; if you localize the string "XYZ" in a given language, than any label that has "XYZ" will show the localization in the selected language. You cannot selectively decide to localize labels in one place and not another except by making the labels different. There may be a way in client script to temporarily set the user's language to the system language, but I wouldn't recommend it.

 

However, Please check my correct  answer here:https://community.servicenow.com/community?id=community_question&sys_id=d04f65e3dbbd7cd4fb115583ca96...

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

Community Alums
Not applicable

Hi Siri,

Any update to this ?Any follow-up required? if not

Kindly mark the answer as Correct & Helpful both such that others can get help.

Thanks,
Sandeep

Community Alums
Not applicable

Hi Siri,

Any update to this ?Any follow-up required? if not

Kindly mark the answer as Correct & Helpful both such that others can get help.

Thanks,
Sandeep

Susan Britt
Mega Sage
Mega Sage

Hi Siri,

Some translations are specific to records (e.g., name of record producer), but variables are not.  Those translations are in the sys_translated table, and they are specific to which table the translation is associated with (i.e., variables).  This is normally considered a benefit and less manual translation/validation needed, if you translate once and use consistent naming, no need to repeat.  However, if you want "leave type" to be translated differently in one record producer than the others, I would recommend slightly changing the wording so it has a different value (e.g., "Leave type" and "Type of leave).