Was anyone able to to successfully translate document templates ?

atherakhtar
ServiceNow Employee
ServiceNow Employee

Documents templates can be translated as per below

https://docs.servicenow.com/bundle/rome-employee-service-management/page/product/human-resources/task/doc-lzt-fm.html

I create multiple document templates and tried creating translations for them. However, could not find clarity on how this is supposed to work. 

Any ideas would be appreciated.

1 ACCEPTED SOLUTION

atherakhtar
ServiceNow Employee
ServiceNow Employee

Hi @michaelj.sheridan ,

I was able to perform the translation.

High-Level Steps to successfully implement translations.

1. Create the HTML Document template in English.

2. Fill the body and other fields, especially the category field. 

3. Create a document template block. (Use this step if you are creating the template blocks which needs to be translated)

4. If you are using step 3 then create the template block contents in English and in Other languages.

5. Remember that a template block should have multiple templated block content in different languages for the same piece of writing.

6. Now you can use the translate button to translate the block.

7. Notice that a new record will be created together with the old record.

8. Ensure that these two records are in the same category and have different user criteria. One applies to English speakers, other applies to Spanish speakers.

9. Remember User criteria is applied on Opened for field in HR table.

Now your data is ready.

You can consume this in different ways.

 

One of the ways is :

a. Create an HR Service.

b. Inside the template field (it would be a reference field)

c. Instead of adding the document template, add the field document template category which you have selected in step 2.

 

Quick troubleshooting tip:

On the HR Service record in the field "Service table fields," you can add the two fields: Document template, Document template category to see which template is being applied.

The two selected fields would now appear on the actual HR record and tell you which template was applied here.

Regards,

Ather

View solution in original post

3 REPLIES 3

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

Hi @atherakhtar Rome introduced the ability to translate a template either manually or using machine translate, if using integrations. The method is different based on your use case. If you are manually translating (not using machine translations) then these translations use the same local translation framework to which we translate fields, messages and the like.

Regards,

Mike

atherakhtar
ServiceNow Employee
ServiceNow Employee

Hi @michaelj.sheridan ,

I was able to perform the translation.

High-Level Steps to successfully implement translations.

1. Create the HTML Document template in English.

2. Fill the body and other fields, especially the category field. 

3. Create a document template block. (Use this step if you are creating the template blocks which needs to be translated)

4. If you are using step 3 then create the template block contents in English and in Other languages.

5. Remember that a template block should have multiple templated block content in different languages for the same piece of writing.

6. Now you can use the translate button to translate the block.

7. Notice that a new record will be created together with the old record.

8. Ensure that these two records are in the same category and have different user criteria. One applies to English speakers, other applies to Spanish speakers.

9. Remember User criteria is applied on Opened for field in HR table.

Now your data is ready.

You can consume this in different ways.

 

One of the ways is :

a. Create an HR Service.

b. Inside the template field (it would be a reference field)

c. Instead of adding the document template, add the field document template category which you have selected in step 2.

 

Quick troubleshooting tip:

On the HR Service record in the field "Service table fields," you can add the two fields: Document template, Document template category to see which template is being applied.

The two selected fields would now appear on the actual HR record and tell you which template was applied here.

Regards,

Ather

@atherakhtar Thank you for the update. This is very helpful.

Regards,

Mike