feat(i18n): add Hindi translations for contact-facing pages

- Add hi.json locale file with Hindi translations
- Add Hindi language to SUPPORTED_LANGUAGES
- Import Hindi translations in i18n index

Closes #246
This commit is contained in:
Manish Rana
2025-12-24 23:59:35 +05:30
parent 0d54b1a631
commit ddc14ae853
3 changed files with 49 additions and 1 deletions
+2 -1
View File
@@ -3,7 +3,7 @@ import type {Language} from './languages.js';
import enTranslations from './locales/en.json' with {type: 'json'};
import nlTranslations from './locales/nl.json' with {type: 'json'};
import frTranslations from './locales/fr.json' with {type: 'json'};
import hiTranslations from './locales/hi.json' with {type: 'json'};
export {
SUPPORTED_LANGUAGES,
DEFAULT_LANGUAGE,
@@ -31,6 +31,7 @@ const translationsMap: Record<string, Translations> = {
en: enTranslations,
nl: nlTranslations,
fr: frTranslations,
hi: hiTranslations,
};
// In-memory cache for loaded translations