¿Es posible usar archivos yml en i18next? ¿Cómo puedo configurar mi proyecto para aceptar yml en lugar de json?
import i18n from 'i18next'; import { initReactI18next } from 'react-i18next'; import ENUS from "./locales/en_US.yml"; const initLng = navigator.language; console.log(initLng); console.log(ENUS); const resources = { 'en-US': ENUS }; i18n .use(initReactI18next) .init({ resources, lng: initLng, interpolation: { escapeValue: false } }); export default i18n;No directamente, pero puede convertir el archivo YAML a json. es decir, usando un módulo como: https://github.com/nodeca/js-yaml
por cierto: el complemento i18next-fs-backend, por ejemplo, está haciendo esto: https://github.com/i18next/i18next-fs-backend 