spestexnika

This commit is contained in:
Davron Chetin
2025-10-04 11:41:38 +05:00
parent cb78857a3a
commit 398269b49b
180 changed files with 1174 additions and 113 deletions

22
i18n/index.ts Normal file
View File

@@ -0,0 +1,22 @@
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
i18n
.use(initReactI18next)
.init({
resources: {
uz: {
common: require("../public/locales/uz/common.json"),
},
ru: {
common: require("../public/locales/ru/common.json"),
},
},
lng: "uz",
fallbackLng: "uz",
interpolation: {
escapeValue: false,
},
});
export default i18n;