From dba427c2c16b2a3636f8db3cef74dc89bf63d447 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Mon, 24 Jul 2023 17:45:06 +0300 Subject: [PATCH] docs: enhance the pre-translate command info --- website/mantemplates/crowdin-pre-translate.adoc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/website/mantemplates/crowdin-pre-translate.adoc b/website/mantemplates/crowdin-pre-translate.adoc index d3f3caa86..9db47ddd9 100644 --- a/website/mantemplates/crowdin-pre-translate.adoc +++ b/website/mantemplates/crowdin-pre-translate.adoc @@ -17,7 +17,15 @@ include::{includedir}/{command}.adoc[tag=picocli-generated-man-section-footer] === Notes -Crowdin CLI uses the crowdin.yml configuration to Pre-Translate files. +Crowdin CLI uses the `crowdin.yml` configuration to Pre-Translate files. -At first, it finds local source files that match the source configuration pattern. hen CLI tries to find the corresponding files in the crowdin project. -After that, CLI will request pre-translation for the found file IDs (matching these files to local sources and configuration file). +- At first, it finds local source files that match the source configuration pattern. Then CLI tries to find the corresponding files in the crowdin project. After that, CLI will request Pre-translation for the found file IDs (matching these files to local sources and configuration file). +- The `--engine-id` value you can find in the MT engine details (_Profile_ > _Machine translation_ for crowdin.com and _Dashboard_ > _Machine translation_ for Crowdin Enterprise) + +=== Examples + +---- +crowdin pre-translate -l fr -l uk --method tm +crowdin pre-translate -l fr --method mt --engine-id 5 +crowdin pre-translate -l fr --method mt --engine-id 5 --branch main +----