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
Copy file name to clipboardExpand all lines: README.md
+40-35Lines changed: 40 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,22 +52,12 @@ Available commands:
52
52
- `status` - gets translation project details
53
53
- `upload` - uploads translation files or translation keys
54
54
- `download` - downloads translation files
55
-
- `auto-translate` - starts [auto-translation](https://simplelocalize.io/auto-translation/) jobs
56
-
- `pull` - downloads translation files from [Translation Hosting](https://simplelocalize.io/translation-hosting/)
57
-
- `publish` - publishes translations to [Translation Hosting](https://simplelocalize.io/translation-hosting/)
55
+
- `auto-translate` - auto-translates texts in the editor
56
+
- `pull` - downloads translation files from translationhosting
57
+
- `publish` - publishes translations to hosting environment
58
58
- `purge` - removes all translation, translation keys and languages from the project
59
59
- `extract` - finds and extracts translation keys in your project files
60
60
61
-
## Create configuration file
62
-
63
-
Command creates a sample configuration file in the current directory.
64
-
The configuration file simplifies the usage of the command-line tool
65
-
by providing a default configuration for the project and allowing to omit some parameters.
66
-
67
-
```shell
68
-
simplelocalize init
69
-
```
70
-
71
61
## Upload translations
72
62
73
63
Upload command takes your local files and uploads them to SimpleLocalize.
@@ -108,9 +98,11 @@ simplelocalize auto-translate
108
98
109
99
## Translation Hosting
110
100
101
+
There are two commands that operates on [translation hosting](https://simplelocalize.io/translation-hosting/) resources which is `publish` and `pull`.
102
+
111
103
### Publish translations
112
104
113
-
Publish command updates translations on [translation hosting](https://simplelocalize.io/translation-hosting/).
105
+
Publish translations between translation editor and hosting or between hosting environments.
114
106
115
107
```
116
108
simplelocalize publish
@@ -122,52 +114,65 @@ simplelocalize publish
122
114
123
115
### Pull resources
124
116
125
-
Downloads all translation hosting files to given directory in`--pullPath` parameter. It overwrites existing files and creates subdirectories if necessary.
117
+
Pull command downloads files from translation hosting.
126
118
127
119
Pulls translations from the `_latest` environment.
Extract command finds translation keys and translations from projectsource code at `<SEARCH_DIRECTORY>` and exports them to `extraction.json` file that uses `simplelocalize-json` file format.
161
+
Extract command finds translation keys and translations from thesource code.
156
162
157
-
```properties
163
+
```bash
158
164
simplelocalize extract
159
-
--searchDir <SEARCH_DIRECTOR>
160
-
--projectType <PROJECT_TYPE>
165
+
--searchDir SEARCH_DIRECTORY
166
+
--projectType PROJECT_TYPE
161
167
```
162
168
163
-
See [available project types](https://simplelocalize.io/docs/cli/i18n-keys-extraction/).
0 commit comments