import polyglotI18nProvider from "ra-i18n-polyglot";
import i18next from "./i18n";

export const i18nProvider = polyglotI18nProvider(
	(locale) => {
		return i18next.getDataByLanguage(locale);
	},
	"en",
	["en", "ru", "kk"]
);
