From 4354ee7ba1c6ac9a9567944ae6169b1664e0ea8a Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 17 Nov 2024 00:33:28 +0000 Subject: feature: Add i18n support. Fixes #57 (#635) * feature(web): Add basic scaffolding for i18n * refactor: Switch most of the app's strings to use i18n strings * fix: Remove unused i18next-resources-for-ts command * Add user setting * More translations * Drop the german translation for now --- apps/web/package.json | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/web/package.json') diff --git a/apps/web/package.json b/apps/web/package.json index 849f434a..e33ffdf3 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -51,9 +51,12 @@ "dayjs": "^1.11.10", "drizzle-orm": "^0.33.0", "fastest-levenshtein": "^1.0.16", + "i18next": "^23.16.5", + "i18next-resources-to-backend": "^1.2.1", "lucide-react": "^0.330.0", "next": "14.2.13", "next-auth": "^4.24.5", + "next-i18next": "^15.3.1", "next-pwa": "^5.6.0", "next-themes": "^0.3.0", "prettier": "^3.2.5", @@ -62,6 +65,7 @@ "react-draggable": "^4.4.6", "react-dropzone": "^14.2.3", "react-hook-form": "^7.50.1", + "react-i18next": "^15.1.1", "react-intersection-observer": "^9.13.1", "react-markdown": "^9.0.1", "react-masonry-css": "^1.0.16", -- cgit v1.2.3-70-g09d2