source: frontend/src/i18n.ts

Last change on this file was b8093a0, checked in by imbrsk <boris696boris@…>, 3 days ago

Merge iknow-remaster into frontend/

Bring the Next.js frontend into this repository as a monorepo subdirectory,
preserving its full commit history via a subtree merge.

  • Property mode set to 100644
File size: 473 bytes
RevLine 
[50f2fb4]1import i18n from 'i18next';
2import { initReactI18next } from 'react-i18next';
3
4import translationEN from './locales/en/translation.json';
5import translationMK from './locales/mk/translation.json';
6
7const resources = {
8 en: { translation: translationEN },
9 mk: { translation: translationMK },
10};
11
12i18n
13 .use(initReactI18next)
14 .init({
15 resources,
16 lng: 'mk',
17 fallbackLng: 'mk',
18 interpolation: {
19 escapeValue: false,
20 },
21 });
22
23export default i18n;
Note: See TracBrowser for help on using the repository browser.