You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,21 +43,29 @@ You can inspect the settings using the following commands:
43
43
'doctr config test' | Validate the credentials and report which one is failing.
44
44
45
45
### List capabilities
46
-
+-------------------+---------------------+
46
+
47
+
|Command ||
48
+
|-------------------|---------------------|
47
49
|'doctr languages' | List the available languages. Can be listed before credentials are set. |
48
50
|'doctr formats' | List the file formats available for translation. Requires credentials key, name and storage to be set. |
49
51
|'doctr glossary' | List the glossary formats available for use as glossary. Requires credentials key, name and storage to be set. |
50
52
53
+
51
54
### Translate
52
-
+----+-----+
53
-
'doctr translate <sourcefolderORdocument> [<targetfolder>] --to <languagecode>' | Translate a document or the content of a folder to another language.
55
+
|Command ||
56
+
|----|-----|
57
+
|'doctr translate <sourcefolderORdocument> [<targetfolder>] --to <languagecode>' | Translate a document or the content of a folder to another language.|
58
+
54
59
If provided, the target folder must be a folder, even if the source document is an individual document. If not provided, the translated document will be placed in a folder
55
60
that has the same name as the source folder, plus '.<languagecode>'.
56
61
Optional parameters to the translate command are
57
-
--from <languagecode> | The language to translate from. If omitted, the system performs automatic language detection.
58
-
--key <keytotheTranslatorresource> | This key will override the settin in the appsettings.json file. Use this if you want to avoid storing the key in a settings file.
59
-
--category <categoryID> | The custom Translator category ID.
60
-
--glossary <fileorfolder> | The glossaries to use for this run. The glossary contains phrases with a defined translation in a table format.
62
+
63
+
| Options ||
64
+
| --|---|
65
+
|--from <languagecode> | The language to translate from. If omitted, the system performs automatic language detection.|
66
+
|--key <keytotheTranslatorresource> | This key will override the settin in the appsettings.json file. Use this if you want to avoid storing the key in a settings file. |
67
+
|--category <categoryID> | The custom Translator category ID.|
68
+
|--glossary <fileorfolder> | The glossaries to use for this run. The glossary contains phrases with a defined translation in a table format.|
61
69
62
70
### Clear
63
71
If a translation run gets interrupted or fails, it may also fail to clean up after itself and leave behind documents in the storage account.
0 commit comments