mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
Add fr, search translation, fix login title
This commit is contained in:
2
i18n.ts
2
i18n.ts
@@ -2,6 +2,7 @@ import i18n from "i18next";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
|
||||
import en from "./translations/en.json";
|
||||
import fr from "./translations/fr.json";
|
||||
import sv from "./translations/sv.json";
|
||||
import { getLocales } from "expo-localization";
|
||||
|
||||
@@ -9,6 +10,7 @@ i18n.use(initReactI18next).init({
|
||||
compatibilityJSON: "v3",
|
||||
resources: {
|
||||
en: { translation: en },
|
||||
fr: { translation: fr },
|
||||
sv: { translation: sv },
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user