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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user