Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The re is also an option to set language resources to be used as default for pivot pre-translation. Check the customerPivotAsDefaultIds parameter in this link LanguageResources: Instance


How pivot pre-translation is handled on translate5 UI or translate5 API import


Import using the translate5 Front-end

If a pivot language is selected and pivot language resources are assigned by default in the language resources management for the current combination of source language and pivot language for the current client:
Import with button "Import (use defaults):

  • For all file formats uploaded (normal source files, bilingual xliff files and zip import packages) a pivot column will column will be created and pre-translated with the language resources assigned for the pivot language. The same priorities are used, as for usual pre-translation (terminology in favor of TM in favor of MT).
  • If xliff files are uploaded as a pivot resource (either in the zip package or via the wizard) they are used as source of the pivot column and the pivot language resources are automatically unassigned.
  • Developers info: A pre-translation worker is queued always. The worker itself will run pivot pre-translation only if there are associations for the task.
    Import skip next steps
  • No pre-translation worker will be queued. And with this no pivot pre-translation is available.
  • The pivot column will be created, but will stay empty, if no bilingual files for pivot translation are provided
       The default associations are still assigned to the task, but will not be used for pre-translation so far. This can be done manually, if needed.

Import using translate5 API

All works the same way as if an import is triggered via the front-end with "Import (use defaults)" with one difference:
The pre-translation is not started automatically, but has to be started by an extra API call(see pretranslation/batch API call from above):

editor/languageresourcetaskpivotassoc/pretranslation/batch
and the taskGuid is required param

If you want to mimic the behavior of the front-end and start the pivot pre-translation automatically, you can use the following system configuration and set it to "true":
name: runtimeOptions.import.autoStartPivotTranslations
description: If set to active, for api created tasks the pivot worker will be queued automatically
quiName: Automatically queue pivot worker (API only)