Add translation (#9)

* feat(wip): translation

* fix: some i18n errors + use ssr translation

* fix: i18next implementation

* fix: tsc errors

* feat: i18n middleware

* feat: translate link view home page

* feat: translate quick actions

* feat: translate search modal

* feat: translate side menu

* feat: native error boundary + translation

* feat: translate error pages

* feat: translate category forms

* feat: translate link forms

* refactor: LangSelector is no longer absolute by default
This commit is contained in:
Sonny
2023-11-11 00:07:10 +01:00
parent 6d07cea92f
commit 255f50080a
53 changed files with 896 additions and 419 deletions

View File

@@ -10,22 +10,24 @@
"dependencies": {
"@prisma/client": "^5.5.2",
"@svgr/webpack": "^8.1.0",
"accept-language": "^3.0.18",
"axios": "^1.6.1",
"framer-motion": "^10.16.4",
"next": "^14.0.1",
"i18next": "^23.7.1",
"next": "^14.0.2",
"next-auth": "^4.24.4",
"next-i18next": "^15.0.0",
"next-seo": "^6.4.0",
"node-html-parser": "^6.1.11",
"nprogress": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.11",
"react-hotkeys-hook": "^4.4.1",
"react-i18next": "^13.3.1",
"react-icons": "^4.11.0",
"react-select": "^5.8.0",
"sass": "^1.69.5",
"sharp": "^0.32.6",
"toastr": "^2.1.4",
"yup": "^1.3.2"
},
"devDependencies": {
@@ -35,7 +37,7 @@
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"eslint-config-next": "14.0.1",
"eslint-config-next": "14.0.2",
"prisma": "^5.5.2",
"typescript": "5.2.2"
}