react-intlayer
Version:
Easily internationalize i18n your React applications with type-safe multilingual content management.
9 lines (7 loc) • 312 B
JavaScript
import { getPlugins } from "./plugins.mjs";
import { getIntlayer as getIntlayer$1 } from "@intlayer/core/interpreter";
//#region src/getIntlayer.ts
const getIntlayer = (key, locale) => getIntlayer$1(key, locale, getPlugins(locale));
//#endregion
export { getIntlayer };
//# sourceMappingURL=getIntlayer.mjs.map