File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11
11
Potrans it's PHP command line tool for automatic translation of [ Gettext] ( https://www.gnu.org/software/gettext/ ) PO file with
12
12
[ Google Translator] ( https://cloud.google.com/translate ) or [ DeepL Translator] ( https://www.deepl.com/ ) .
13
13
14
+ ## Install
15
+
16
+ You can add ` om/potrans ` to you PHP project like follow:
17
+
18
+ ``` shell
19
+ composer require --dev om/potrans
20
+ ```
21
+
22
+ or you can clone this repository and then run ` ./bin/potrans `
23
+
14
24
## Google Translator
15
25
16
26
``` shell
@@ -154,16 +164,6 @@ You can use environment variables to set DeepL API key.
154
164
DEEPL_API_KEY=your-deepl-api-key
155
165
```
156
166
157
- ## Install
158
-
159
- You can add ` om/potrans ` to you PHP project like follow:
160
-
161
- ``` shell
162
- composer require --dev om/potrans
163
- ```
164
-
165
- or you can clone this repository and then run ` ./bin/potrans `
166
-
167
167
## Custom translator
168
168
169
169
If you need to use a custom translator that behaves differently than the original translator.
You can’t perform that action at this time.
0 commit comments