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
Downloads all translation hosting files to given directory in`--pullPath` parameter. It overwrites existing files and creates subdirectories if necessary. Available environment variables: `latest`, `production`.
223
+
## Translation Hosting: Publish translations
226
224
227
-
```
228
-
simplelocalize pull
229
-
--apiKey <PROJECT_API_KEY>
230
-
--pullPath ./hosting/
231
-
--environment latest
225
+
It publishes translation to [Translation Hosting](https://simplelocalize.io/translation-hosting). It behaves exactly the same as publish buttons in the SimpleLocalize (Hosting tab).
226
+
227
+
Publishes translations from Translation Editor to the `latest` environment.
`--filterRegex` allows you to filter files by regex, e.g.: `--filterRegex '__index.json'` will download only `__index.json` file.
232
+
Publishes translations from the `latest` environment to `production` environment.
233
+
```properties
234
+
simplelocalize publish --apiKey <PROJECT_API_KEY> --environment production
235
+
```
236
236
237
-
## Publish resources to Translation Hosting
237
+
## Translation Hosting: Pull resources
238
238
239
-
It publishes translation to [Translation Hosting](https://simplelocalize.io/translation-hosting). It behaves exactly the same as publish buttons in the SimpleLocalize (Hosting tab).
239
+
Downloads all translation hosting files to given directory in`--pullPath` parameter. It overwrites existing files and creates subdirectories if necessary.
0 commit comments