Skip to content

I18next-resources-to-backend

This package helps to transform resources to an i18next backend

리소스를 i18next Backend로 변환하는 Helper

Example

import i18next from 'i18next';
import resourcesToBackend from 'i18next-resources-to-backend';

i18next
  .use(resourcesToBackend((language, namespace) => import(`./locales/${language}/${namespace}.json`)))
  .init({ /* other options */ })

See also

Favorite site