feat(frontend): internationalization

This commit is contained in:
sam 2024-09-10 20:33:22 +02:00
parent 2323810b06
commit 498d79de4e
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
16 changed files with 1092 additions and 167 deletions

View file

@ -9,7 +9,8 @@
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"start": "cross-env NODE_ENV=production node ./server.js",
"typecheck": "tsc",
"format": "prettier -w ."
"format": "prettier -w .",
"extract-translations": "i18next 'app/**/*.tsx' -o 'public/locales/$LOCALE.json'"
},
"dependencies": {
"@remix-run/express": "^2.11.2",
@ -22,12 +23,18 @@
"cookie": "^0.6.0",
"cross-env": "^7.0.3",
"express": "^4.19.2",
"i18next": "^23.15.1",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-fs-backend": "^2.3.2",
"i18next-http-backend": "^2.6.1",
"isbot": "^4.1.0",
"morgan": "^1.10.0",
"react": "^18.2.0",
"react-bootstrap": "^2.10.4",
"react-bootstrap-icons": "^1.11.4",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-i18next": "^15.0.1",
"remix-i18next": "^6.3.0"
},
"devDependencies": {
"@fontsource/firago": "^5.0.11",
@ -46,6 +53,7 @@
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"i18next-parser": "^9.0.2",
"prettier": "^3.3.3",
"sass": "^1.78.0",
"typescript": "^5.1.6",