Skip to content

Commit eecc852

Browse files
authored
Update README.md
1 parent 3b97e39 commit eecc852

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,28 +194,28 @@ simplelocalize upload
194194
195195
It publishes translation to [Translation Hosting](https://simplelocalize.io/translation-hosting). It behaves exactly the same as publish buttons in the SimpleLocalize (Hosting tab).
196196
197-
Publishes translations from Translation Editor to the `latest` environment.
197+
Publishes translations from Translation Editor to the `_latest` environment.
198198
```properties
199-
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment latest
199+
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment _latest
200200
```
201201
202-
Publishes translations from the `latest` environment to `production` environment.
202+
Publishes translations from the `_latest` environment to `_production` environment.
203203
```properties
204-
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment production
204+
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment _production
205205
```
206206
207207
## Translation Hosting: Pull resources
208208
209209
Downloads all translation hosting files to given directory in `--pullPath` parameter. It overwrites existing files and creates subdirectories if necessary.
210210
211-
Pulls translations from the `latest` environment.
211+
Pulls translations from the `_latest` environment.
212212
```properties
213-
simplelocalize pull --apiKey <PROJECT_API_KEY> --pullPath ./hosting/ --environment latest
213+
simplelocalize pull --apiKey <PROJECT_API_KEY> --pullPath ./hosting/ --environment _latest
214214
```
215215
216-
Pulls translations from the `production` environment.
216+
Pulls translations from the `_production` environment.
217217
```properties
218-
simplelocalize pull --apiKey <PROJECT_API_KEY> --pullPath ./hosting/ --environment production
218+
simplelocalize pull --apiKey <PROJECT_API_KEY> --pullPath ./hosting/ --environment _production
219219
```
220220
221221
If you would like to filter files which should be downloaded you can use `--filterRegex` param,
@@ -324,7 +324,7 @@ ignoreKeys:
324324
325325
# Properties used by 'pull' and 'publish' command
326326
pullPath: ./src/hosting/
327-
environment: 'production' # or 'latest'
327+
environment: '_production' # or '_latest', or 'my_custom'
328328
329329
```
330330

0 commit comments

Comments
 (0)