Applies ToSharePoint Server 2019

Symptoms

When you try to run machine translation on a variation page, you receive the following error message:

The file could not be translated due to an intermittent error in the system. Please resubmit this file for translation. If the file fails again with this error message, contact your system administrator.

Cause

This issue occurs because the content contains certain HTML tags that are not supported for translation.

Workaround

If you are the farm administrator, you can work around this issue by running the following commands to add tags to the ExcludedMachineTranslationTags list in the farm to exclude certain HTML tags from being machine translated:

add-pssnapin * $f=get-spfarm $f.AddGenericAllowedListValue("ExcludedMachineTranslationTags","<HTML tag name>")

For example:

$f.AddGenericAllowedListValue("ExcludedMachineTranslationTags","nav") $f.AddGenericAllowedListValue("ExcludedMachineTranslationTags","li")

Then, run the following command to update the list:

$f.update()

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.