]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/i18n/generate.sh
Translated using Weblate (French (France))
[github/Chocobozzz/PeerTube.git] / scripts / i18n / generate.sh
CommitLineData
989e526a
C
1#!/bin/sh
2
3set -eu
4
5cd client
3aea8eb2
C
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
989e526a 8
3aea8eb2
C
9# Merge new translations in other language files
10npm run ng run -- PeerTube:xliffmerge
e945b184
C
11
12# Add our strings too
13cd ../
1cd4fe50 14npm run i18n:create-custom-files