]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - scripts/i18n/generate.sh
Translated using Weblate (French (France))
[github/Chocobozzz/PeerTube.git] / scripts / i18n / generate.sh
... / ...
CommitLineData
1#!/bin/sh
2
3set -eu
4
5cd client
6npm run ng -- xi18n --i18n-locale "en-US" --output-path src/locale --out-file angular.xlf
7npm run ngx-extractor -- --locale "en-US" -i 'src/**/*.ts' -f xlf -o src/locale/angular.xlf
8
9# Merge new translations in other language files
10npm run ng run -- PeerTube:xliffmerge
11
12# Add our strings too
13cd ../
14npm run i18n:create-custom-files