Files
worldmonitor/pro-test/package.json
Elie Habib 0eec12706a feat(pro): localize landing page (21 languages) (#1187)
* feat(pro): localize landing page with i18next (21 languages)

- Add i18next + browser language detection matching main app pattern
- Extract all hardcoded strings to locale keys (en.json)
- Lazy-load 20 non-English locale bundles via import.meta.glob
- Support RTL (Arabic) with automatic dir attribute
- Languages: en, ar, bg, cs, de, el, es, fr, it, ja, ko, nl, pl, pt, ro, ru, sv, th, tr, vi, zh

* fix(lint): exclude nested node_modules from markdownlint
2026-03-07 13:52:07 +04:00

29 lines
654 B
JSON

{
"name": "worldmonitor-pro",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite --port=3000",
"build": "vite build",
"preview": "vite preview",
"lint": "tsc --noEmit"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.14",
"@vitejs/plugin-react": "^5.0.4",
"i18next": "^25.8.14",
"i18next-browser-languagedetector": "^8.2.1",
"lucide-react": "^0.546.0",
"motion": "^12.23.24",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vite": "^6.2.0"
},
"devDependencies": {
"@types/node": "^22.14.0",
"tailwindcss": "^4.1.14",
"typescript": "~5.8.2"
}
}