From 8070ae44de0ece975e4ef4310da59ebe29334e28 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 24 Oct 2019 15:11:05 +0200 Subject: [PATCH] Add translations doc --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 5ac7695..fa7c3a2 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,29 @@ $ npm run serve ``` $ 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 +```