diff --git a/ui/src/components/commons/LanguageSelector.tsx b/ui/src/components/commons/LanguageSelector.tsx
index c802205a..17e1c501 100644
--- a/ui/src/components/commons/LanguageSelector.tsx
+++ b/ui/src/components/commons/LanguageSelector.tsx
@@ -60,7 +60,7 @@ export const LanguageSelector: React.FC = () => {
{isOpen && (
diff --git a/ui/src/locales/ar.json b/ui/src/locales/ar.json
index 4e3f24e6..02816a7a 100644
--- a/ui/src/locales/ar.json
+++ b/ui/src/locales/ar.json
@@ -19,7 +19,7 @@
"ble": "بليه"
},
"Upload": {
- "format": "تنسيقات الملفات المسموح بها: PNG/JPEG/JPG/PDF \n الحد الأدنى للحجم : 10 كيلو بايت | \n الحد الأقصى للحجم : 5 ميجابايت"
+ "format": "تنسيقات الملفات المسموح بها: PNG/JPEG/JPG/PDF \n حجم الملف - 10 كيلو بايت إلى 5 ميجابايت"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json
index bf86d161..6d547d92 100644
--- a/ui/src/locales/en.json
+++ b/ui/src/locales/en.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "Allowed file formats: PNG/JPEG/JPG/PDF \nMin Size : 10KB | Max Size : 5MB"
+ "format": "Allowed file formats: PNG/JPEG/JPG/PDF \n File Size - 10KB to 5MB"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/es.json b/ui/src/locales/es.json
index a6733006..1801e8db 100644
--- a/ui/src/locales/es.json
+++ b/ui/src/locales/es.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "Formatos de archivo permitidos: PNG/JPEG/JPG/PDF \nTamaño mínimo: 10 KB | Tamaño máximo: 5 MB"
+ "format": "Formatos de archivo permitidos: PNG/JPEG/JPG/PDF \n Tamaño de archivo: 10 KB a 5 MB"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/fr.json b/ui/src/locales/fr.json
index 7ca912ed..7a26d410 100644
--- a/ui/src/locales/fr.json
+++ b/ui/src/locales/fr.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "Formats de fichiers autorisés : PNG/JPEG/JPG/PDF \n Taille minimale : 10 Ko | \n Taille maximale : 5 Mo"
+ "format": "Formats de fichiers autorisés : PNG/JPEG/JPG/PDF \n Taille du fichier : 10 Ko à 5 Mo"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/hi.json b/ui/src/locales/hi.json
index f3b2236f..2069f311 100644
--- a/ui/src/locales/hi.json
+++ b/ui/src/locales/hi.json
@@ -19,7 +19,7 @@
"ble": "बीएलई"
},
"Upload": {
- "format": "अनुमत फ़ाइल प्रारूप: पीएनजी/जेपीईजी/जेपीजी/पीडीएफ \n न्यूनतम आकार: 10KB | \n अधिकतम आकार : 5एमबी"
+ "format": "अनुमत फ़ाइल प्रारूप: PNG/JPEG/JPG/PDF \n फ़ाइल का आकार - 10KB से 5MB"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/km.json b/ui/src/locales/km.json
index 4f837dd9..4a0d115d 100644
--- a/ui/src/locales/km.json
+++ b/ui/src/locales/km.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "ទម្រង់ឯកសារដែលបានអនុញ្ញាត៖ PNG/JPEG/JPG/PDF \nទំហំអប្បបរមា៖ 10KB | ទំហំអតិបរមា៖ 5MB"
+ "format": "ទម្រង់ឯកសារដែលបានអនុញ្ញាត៖ PNG/JPEG/JPG/PDF \n ទំហំឯកសារ - 10KB ដល់ 5MB"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/kn.json b/ui/src/locales/kn.json
index 3b13d244..3d494c85 100644
--- a/ui/src/locales/kn.json
+++ b/ui/src/locales/kn.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "ಅನುಮತಿಸಲಾದ ಫೈಲ್ ಫಾರ್ಮ್ಯಾಟ್ಗಳು: PNG/JPEG/JPG/PDF \n ಕನಿಷ್ಠ ಗಾತ್ರ: 10KB | ಗರಿಷ್ಠ ಗಾತ್ರ: 5MB"
+ "format": "ಅನುಮತಿಸಲಾದ ಫೈಲ್ ಫಾರ್ಮ್ಯಾಟ್ಗಳು: PNG/JPEG/JPG/PDF \n ಫೈಲ್ ಗಾತ್ರ - 10KB ನಿಂದ 5MB"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/pt.json b/ui/src/locales/pt.json
index 81a8a159..b36eee15 100644
--- a/ui/src/locales/pt.json
+++ b/ui/src/locales/pt.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "Formatos de arquivo permitidos: PNG/JPEG/JPG/PDF \n Tamanho mínimo: 10KB | \n Tamanho máximo: 5 MB"
+ "format": "Formatos de arquivo permitidos: PNG/JPEG/JPG/PDF \n Tamanho do arquivo – 10 KB a 5 MB"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/locales/ta.json b/ui/src/locales/ta.json
index 691626e2..20a760fb 100644
--- a/ui/src/locales/ta.json
+++ b/ui/src/locales/ta.json
@@ -19,7 +19,7 @@
"ble": "BLE"
},
"Upload": {
- "format": "அனுமதிக்கப்பட்ட கோப்பு வடிவங்கள்: PNG/JPEG/JPG/PDF \nகுறைந்தபட்ச அளவு: 10KB | அதிகபட்ச அளவு: 5MB"
+ "format": "அனுமதிக்கப்பட்ட கோப்பு வடிவங்கள்: PNG/JPEG/JPG/PDF \n கோப்பு அளவு - 10KB முதல் 5MB வரை"
},
"VerificationStepsContent": {
"SCAN": {
diff --git a/ui/src/utils/i18n.ts b/ui/src/utils/i18n.ts
index bda46720..dc81a7b6 100644
--- a/ui/src/utils/i18n.ts
+++ b/ui/src/utils/i18n.ts
@@ -17,23 +17,27 @@ const resources = { en, ta, kn, hi, fr, ar, pt, es, km };
export const LanguagesSupported: LanguageObject[] = [
{ label: "Português", value: "pt" },
{ label: "English", value: "en" },
-
+ { label: "தமிழ்", value: "ta" },
+ { label: "ಕನ್ನಡ", value: "kn" },
+ { label: "हिंदी", value: "hi" },
+ { label: "Français", value: "fr" },
+ { label: "عربي", value: "ar" },
+ { label: "español", value: "es" },
+ { label: "ខ្មែរ", value: "km" },
];
export const defaultLanguage = window._env_.DEFAULT_LANG;
export const selected_language = storage.getItem(storage.SELECTED_LANGUAGE);
-i18n
- .use(initReactI18next)
- .init({
- resources,
- lng: selected_language ? selected_language : defaultLanguage,
- fallbackLng: defaultLanguage,
- interpolation: {
- escapeValue: false,
- },
- });
+i18n.use(initReactI18next).init({
+ resources,
+ lng: selected_language ? selected_language : defaultLanguage,
+ fallbackLng: defaultLanguage,
+ interpolation: {
+ escapeValue: false,
+ },
+});
export const switchLanguage = async (language: string) => {
storage.setItem(storage.SELECTED_LANGUAGE, language);