🧑💻(i18n) rebuild translations for crowdin
For some unexpected reasons it can happen that the translations in Crowdin are lost. If that happens, we can rebuild the Crowdin translations file from our translated json file. "translations-skeleton.json" is the downloaded source file from Crowdin. It will generate "translations-rebuild.json", which can be uploaded directly to Crowdin.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"extract-translation:impress": "yarn i18next ../../apps/impress/**/*.{ts,tsx} -c ./i18next-parser.config.mjs -o ./locales/impress/translations-crowdin.json",
|
||||
"format-deploy": "yarn format-deploy:impress",
|
||||
"format-deploy:impress": "node ./format-deploy.mjs --app=impress --output=../../apps/impress/src/i18n/translations.json",
|
||||
"format-rebuild-fr:impress": "node ./rebuild-translations.mjs --language=fr --app=impress --output=../../apps/impress/src/i18n/translations.json",
|
||||
"lint": "eslint --ext .js,.ts,.mjs .",
|
||||
"test": "jest"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user