- Introduce functions to initialize and load locale files dynamically - Add support for translation keys with placeholder replacements - Default to English if locale files are missing or not found - Determine system language using environment variables
2 lines
73 B
TypeScript
2 lines
73 B
TypeScript
export { getCurrentLanguage, initI18n, loadLocale, t } from './i18n.ts';
|