initial "update translation" doc
parent
59cafcba69
commit
6a1bf130b6
|
@ -0,0 +1,23 @@
|
||||||
|
##### To update translations you first have to
|
||||||
|
|
||||||
|
### setup
|
||||||
|
1. install crowdin cli
|
||||||
|
2. cp crowdin.example.yml crowdin.yml
|
||||||
|
3. add api key into crowdin.yml
|
||||||
|
|
||||||
|
|
||||||
|
##### after this is done you can
|
||||||
|
|
||||||
|
### update
|
||||||
|
```
|
||||||
|
git checkout -f master -b crowdin_$(date "+%Y-%m-%d")
|
||||||
|
|
||||||
|
crowdin push
|
||||||
|
sleep 10s
|
||||||
|
crowdin pull
|
||||||
|
|
||||||
|
git add -u
|
||||||
|
git commit -S -m "Crowdin $(date "+%Y-%m-%d")"
|
||||||
|
git push -u origin crowdin_$(date "+%Y-%m-%d")
|
||||||
|
```
|
||||||
|
& create pull
|
Loading…
Reference in New Issue