UNPKG

diva-mobile-vision-camera-mrz-scanner

Version:

VisionCamera Frame Processor Plugin to detect and read MRZ data from passports using MLKit Text Recognition.

24 lines 529 B
import i18next from 'i18next'; import { initReactI18next } from 'react-i18next'; import tr from '../../locales/tr.json'; import en from '../../locales/en.json'; import de from '../../locales/de.json'; export const languageResources = { tr: { translation: tr }, en: { translation: en }, de: { translation: de } }; i18next.use(initReactI18next).init({ compatibilityJSON: 'v3', lng: 'en', fallbackLng: 'en', resources: languageResources }); export default i18next; //# sourceMappingURL=i18next.js.map