diff --git a/README.md b/README.md index 49bca91..d338507 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ jsontt logo

-#

**🚀 FREE JSON TRANSLATOR 🆓**

+#

**🚀 FREE JSON/YAML TRANSLATOR 🆓**

@@ -20,7 +20,7 @@

-This package will provide you to translate your JSON files or objects into different languages FREE. +This package will provide you to translate your JSON/YAML files or JSON objects into different languages FREE. ### Types of usages 👀 @@ -48,6 +48,8 @@ npm i -g @parvineyvazov/json-translator ```bash jsontt +or +jsontt ```

@@ -56,17 +58,18 @@ jsontt ## Arguments -- `[path]`: Required JSON file path `` +- `[path]`: Required JSON/YAML file path `` - `[path]`: optional proxy list txt file path `` ## Options - - -V, --version output the version number - - -T, --translator specify translation service (choices: "google", "libre", "argos", "bing") - - -f, --from the translate language from it, e.g., --from en - - -t, --to the Languages to translate into, e.g., --to ar fr zh-CN - - -n, --name the name of the output file (optional), e.g., --name newFileName - - -h, --help display help for command +- -V, --version output the version number +- -T, --translator specify translation service (choices: "google", "libre", "argos", "bing") +- -f, --from the translate language from it, e.g., --from en +- -t, --to the Languages to translate into, e.g., --to ar fr zh-CN +- -n, --name the name of the output file (optional), e.g., --name newFileName +- -h, --help display help for command + ## Examples Translate a JSON file using Google Translate: @@ -431,7 +434,7 @@ To ignore words on translation use `{{word}}` OR `{word}` style on your object. ## **7. CLI commands** -- translate +- translate (json/yaml) ```bash jsontt file.json @@ -455,7 +458,7 @@ jsontt "C:\folder1\folder\en.json" jsontt file.json proxy.txt ``` -Result will be in the same folder as the original JSON file. +Result will be in the same folder as the original JSON/YAML file.
@@ -575,6 +578,8 @@ Make sure your terminal has admin access while running these commands to prevent :heavy_check_mark: Define output file names on cli (optional command for cli) +:heavy_check_mark: YAML file Translate + - [ ] Libre Translate option (in code package) - [ ] Argos Translate option (in code package)