]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/i18n/generate.sh
5 npm run build
-- --i18n
8 .
/node_modules
/.bin
/localize
-extract -r .
-f xliff
--locale "en-US" -s 'dist/en-US/*.js' -o src
/locale
/angular.xlf
10 # Workaround of https://github.com/angular/angular/issues/38437
11 sed -i 's/other {{INTERPOLATION}/other {<x id="INTERPOLATION"\/>/g' src
/locale
/angular.xlf
13 # Merge new translations in other language files
14 npm run ng run
-- PeerTube
:xliffmerge
18 npm run i18n
:create
-custom-files