|
|
|
@ -4,11 +4,11 @@ import { initReactI18next } from "react-i18next"; |
|
|
|
|
|
|
|
|
|
|
|
// Languages
|
|
|
|
// Languages
|
|
|
|
import { captionLanguages } from "./iso6391"; |
|
|
|
import { captionLanguages } from "./iso6391"; |
|
|
|
|
|
|
|
import cs from "./locales/cs/translation.json"; |
|
|
|
import en from "./locales/en/translation.json"; |
|
|
|
import en from "./locales/en/translation.json"; |
|
|
|
import fr from "./locales/fr/translation.json"; |
|
|
|
import fr from "./locales/fr/translation.json"; |
|
|
|
import nl from "./locales/nl/translation.json"; |
|
|
|
import nl from "./locales/nl/translation.json"; |
|
|
|
import tr from "./locales/tr/translation.json"; |
|
|
|
import tr from "./locales/tr/translation.json"; |
|
|
|
import cs from "./locales/cs/translation.json"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const locales = { |
|
|
|
const locales = { |
|
|
|
en: { |
|
|
|
en: { |
|
|
|
@ -25,7 +25,7 @@ const locales = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
cs: { |
|
|
|
cs: { |
|
|
|
translation: cs, |
|
|
|
translation: cs, |
|
|
|
} |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
i18n |
|
|
|
i18n |
|
|
|
// detect user language
|
|
|
|
// detect user language
|
|
|
|
|