CognxSafeTrack
feat: implement whatsapp templates management with security hardening, audit logs, and crm integration
0f2f80a Download apps/admin/src/lib/i18n.ts from safetrack/edtech: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/spaces/safetrack/edtech/resolve/main/apps/admin/src/lib/i18n.ts
- Command line
-
hf download hf://spaces/safetrack/edtech/apps/admin/src/lib/i18n.ts
-
curl -L -o i18n.ts https://huggingface.co/spaces/safetrack/edtech/resolve/main/apps/admin/src/lib/i18n.ts
627 Bytes
| import i18n from 'i18next'; | |
| import { initReactI18next } from 'react-i18next'; | |
| import LanguageDetector from 'i18next-browser-languagedetector'; | |
| import en from '../locales/en.json'; | |
| import fr from '../locales/fr.json'; | |
| import es from '../locales/es.json'; | |
| import pt from '../locales/pt.json'; | |
| i18n | |
| .use(LanguageDetector) | |
| .use(initReactI18next) | |
| .init({ | |
| resources: { | |
| en: { translation: en }, | |
| fr: { translation: fr }, | |
| es: { translation: es }, | |
| pt: { translation: pt } | |
| }, | |
| fallbackLng: 'en', | |
| debug: false, | |
| interpolation: { | |
| escapeValue: false, | |
| } | |
| }); | |
| export default i18n; | |