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
Copy file name to clipboardExpand all lines: docs/usage.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,12 +103,12 @@ Below is a detailed explanation of all command-line arguments:
103
103
*Description:* Specifies the input folder containing one or more `.po` files to be processed.
104
104
*Behind the scenes:* The tool recursively scans this folder and processes every file ending with `.po`.
105
105
106
-
-**`--lang <language_codes>`**
107
-
*Description:* A comma-separated list of ISO 639-1 language codes (e.g., `de,fr`) or locale codes (e.g., `fr_CA,pt_BR`).
108
-
*Behind the scenes:* The tool filters PO files by comparing these codes with the file metadata and folder names (if `--folder-language` is enabled).
109
-
110
106
### Optional Options
111
107
108
+
-**`--lang <language_codes>`***(Optional)*
109
+
*Description:* A comma-separated list of ISO 639-1 language codes (e.g., `de,fr`) or locale codes (e.g., `fr_CA,pt_BR`). **If not provided, the tool will auto-detect languages from PO file metadata or folder structure.**
110
+
*Behind the scenes:* The tool filters PO files by comparing these codes with the file metadata and folder names (if `--folder-language` is enabled). When omitted, it scans all PO files to extract language information automatically.
111
+
112
112
-**`--detail-lang <language_names>`**
113
113
*Description:* A comma-separated list of full language names (e.g., `"German,French"`) that correspond to the codes provided with `--lang`.
114
114
*Behind the scenes:* These names are used in the translation prompts to give the AI clearer context, potentially improving translation quality.
0 commit comments