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
Learn more about [download translations command](https://simplelocalize.io/docs/cli/download-translations/).
129
149
130
150
## Sync translations
131
151
Sync command combines upload and download commend execution.
132
152
```properties
133
-
simplelocalize sync --apiKey <PROJECT_API_KEY>
153
+
simplelocalize sync
154
+
--apiKey <PROJECT_API_KEY>
155
+
--downloadPath <DOWNLOAD_PATH>
156
+
--downloadFormat <DOWNLOAD_FORMAT>
157
+
--downloadOptions <DOWNLOAD_OPTIONS>
158
+
--uploadPath <UPLOAD_PATH>
159
+
--uploadFormat <UPLOAD_FORMAT>
160
+
--uploadOptions <UPLOAD_OPTIONS>
134
161
```
135
162
163
+
`--downloadOptions` and `--uploadOptions` parameters are optional.
136
164
137
165
## Extract translation keys
138
166
139
167
```properties
140
-
simplelocalize extract --apiKey <PROJECT_API_KEY>
168
+
simplelocalize extract
169
+
--apiKey <PROJECT_API_KEY>
170
+
--searchDir <SEARCH_DIRECTOR>
171
+
--projectType <PROJECT_TYPE>
141
172
```
142
173
174
+
See [available project types](https://simplelocalize.io/docs/cli/i18n-keys-extraction/).
175
+
143
176
## Custom configuration file
144
177
By default, SimpleLocalize will load configuration from file named `simplelocalize.yml`. You can load configuration from different location using `-c` parameters.
0 commit comments