Skip to content

Commit 983851a

Browse files
Update README.md
1 parent d67a41d commit 983851a

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,20 @@ simplelocalize auto-translate
104104
--languageKeys en,fr,de,pl
105105
```
106106
107+
[GitHub Wiki: Auto-translate strings](/simplelocalize/simplelocalize-cli/wiki/Auto%E2%80%90translate-strings)
108+
107109
## Translation Hosting: Publish translations
108110
109-
It publishes translation to [Translation Hosting](https://simplelocalize.io/translation-hosting). It behaves exactly the same as publish buttons in the SimpleLocalize (Hosting tab).
111+
Publish command updates translations on [translation hosting](https://simplelocalize.io/translation-hosting/).
110112
111-
Publishes translations from Translation Editor to the `_latest` environment.
112-
```properties
113-
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment _latest
114113
```
115-
116-
Publishes translations from the `_latest` environment to `_production` environment.
117-
```properties
118-
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment _production
114+
simplelocalize publish
115+
--apiKey PROJECT_API_KEY
116+
--environment _latest
119117
```
120118
119+
[GitHub Wiki: Pull resources](/simplelocalize/simplelocalize-cli/wiki/Publish-translations)
120+
121121
## Translation Hosting: Pull resources
122122
123123
Downloads all translation hosting files to given directory in `--pullPath` parameter. It overwrites existing files and creates subdirectories if necessary.
@@ -127,14 +127,7 @@ Pulls translations from the `_latest` environment.
127127
simplelocalize pull --apiKey <PROJECT_API_KEY> --pullPath ./hosting/ --environment _latest
128128
```
129129
130-
Pulls translations from the `_production` environment.
131-
```properties
132-
simplelocalize pull --apiKey <PROJECT_API_KEY> --pullPath ./hosting/ --environment _production
133-
```
134-
135-
If you would like to filter files which should be downloaded you can use `--filterRegex` param,
136-
e.g.: `--filterRegex '__index.json'` will download only `__index.json` file.
137-
130+
[GitHub Wiki: Pull resources](/simplelocalize/simplelocalize-cli/wiki/Pull-resources)
138131
139132
## Get project details
140133

0 commit comments

Comments
 (0)