aboutsummaryrefslogblamecommitdiffhomepage
path: root/scripts/i18n/update.sh
blob: 822344cddb664368ea5ac3686d536ae95f52ba11 (plain) (tree)
1
2
3
4
5
6
7
8
9



         

                                              
         
                                                                                                          
 

                                                


                     
                                
#!/bin/sh

set -eu

git fetch weblate && git merge weblate/develop

cd client
npm run ng -- extract-i18n --i18n-locale "en-US" --out-file  src/locale/angular.xlf src/locale/angular.xlf

# Merge new translations in other language files
npm run ng run -- PeerTube:xliffmerge

# Add our strings too
cd ../
npm run i18n:create-custom-files