Perfomed complete Marathi translation. Not exactly complete but up to where mr & fr was done.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
// src/service/translation.js
|
||||
import en from '../locales/en.json';
|
||||
import hi from '../locales/hi.json';
|
||||
import mr from '../locales/mr.json';
|
||||
import fr from '../locales/fr.json';
|
||||
|
||||
const translations = { en, hi, fr };
|
||||
const translations = { en, hi, mr, fr };
|
||||
|
||||
export const t = (key, lang = 'en') => {
|
||||
return translations[lang][key] || key; // Fallback to key if missing
|
||||
|
||||
Reference in New Issue
Block a user