Add translations doc

This commit is contained in:
Chocobozzz 2019-10-24 15:11:05 +02:00
parent 1828aa3f24
commit 8070ae44de
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -11,3 +11,29 @@ $ npm run serve
``` ```
$ npm run build $ npm run build
``` ```
## Update translations
Add Weblate remote:
```
$ git remote add weblate https://weblate.framasoft.org/git/joinpeertube/main
```
Update from Weblate:
```
$ git fetch weblate && git merge weblate/master
```
Re generate translations:
```
$ npm run i18n:generate
```
Push on master (Weblate will be automatically updated)
```
$ git push origin master
```