feat: auto generate translations (#288)

* add cloud translation api package

* feat: Script that auto generates translations for other languages

* add comments

* fix: broken translation

* improve translation

* update locck file

* clean up

* all round trasnlations check

* checkpoint

* finish up

* move to dev dependencies

* fix vercel build error

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Adeyemi Adetunji
2024-04-24 23:01:20 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 72f83a4365
commit 648e15d88d
22 changed files with 4331 additions and 2708 deletions
+4 -1
View File
@@ -16,7 +16,8 @@
"prepare": "svelte-kit sync",
"test": "jest",
"test:watch": "pnpm run test --watch",
"ci": "cp .env.example .env && vite build && vite preview"
"ci": "cp .env.example .env && vite build && vite preview",
"script:translate": "node ./scripts/translate.cjs"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.386.0",
@@ -73,12 +74,14 @@
"@testing-library/svelte": "^4.0.5",
"@types/jest": "^29.5.10",
"@types/lodash": "^4.14.196",
"all-object-keys": "^2.2.0",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.7.0",
"carbon-components-svelte": "^0.79.0",
"carbon-icons-svelte": "^12.1.0",
"dotenv": "^16.3.1",
"eslint-config-custom": "workspace:*",
"jessy": "^3.1.1",
"jest": "^29.7.0",
"postcss": "^8.4.24",
"postcss-load-config": "^4.0.1",