Localizes language names in the language pie chart

Uses `Intl.DisplayNames` to display localized language names in the language pie chart, enhancing user experience and readability.

Also converts country and language values from the CSV data to ISO codes for standardization and improved data handling.
Adds tooltip to display ISO language code.
This commit is contained in:
2025-05-22 01:32:53 +02:00
parent 9fa7475da7
commit 2624bf1378
10 changed files with 609 additions and 232 deletions

View File

@ -15,10 +15,12 @@
},
"dependencies": {
"@prisma/client": "^6.8.2",
"@types/node-fetch": "^3.0.2",
"@types/node-fetch": "^2.6.12",
"bcryptjs": "^3.0.2",
"chart.js": "^4.0.0",
"csv-parse": "^5.5.0",
"i18n-iso-countries": "^7.14.0",
"iso-639-1": "^3.1.5",
"next": "^15.3.2",
"next-auth": "^4.24.11",
"node-cron": "^4.0.6",