🌍 i18n: Update translation.json with latest translations (#5764) #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push New Keys to locize | |
on: | |
push: | |
branches: [main] | |
jobs: | |
push-new-keys: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install locize CLI | |
run: npm install -g locize-cli | |
- name: Push Missing Translation Keys to locize | |
run: | | |
cd client/src/locales | |
locize save-missing --api-key ${{ secrets.LOCIZE_API_KEY }} --project-id ${{ secrets.LOCIZE_PROJECT_ID }} --language en |