Implement multilingual support by integrating i18n for dynamic text rendering across the app. Added language selection modal in HomeScreen and updated various components to utilize localized strings. Updated package dependencies for async storage and localization.

This commit is contained in:
2025-08-16 22:24:47 +05:00
parent 0f8c9b5e55
commit e431c42df1
13 changed files with 460 additions and 38 deletions

26
locales/en.json Normal file
View File

@@ -0,0 +1,26 @@
{
"home": "Home",
"services": "Services",
"yourJourneyToHajj": "Your Journey to Hajj",
"hajjEssentials": "Everything you need for Hajj essentials.",
"umrah": "Umrah",
"bookPermit": "Book Permit",
"nobleRawdah": "Noble Rawdah",
"newExperience": "New Experience",
"prayerTimes": "Prayer Times",
"leftOnPrayer": "Left on {{prayerName}} prayer",
"servicesToEnrich": "Services to Enrich Your Spiritual Experience",
"quran": "Qur'an",
"hadith": "Hadith",
"dua": "Du'a",
"adhkar": "Adhkar",
"hisnAlMuslim": "Hisn Al-Muslim",
"morningEveningThikr": "Thikr said in the morning and evening",
"beforeSleepingThikr": "Thikr before sleeping",
"afterSalamThikr": "Thikr after salam",
"breakingFastSupplication": "Upon breaking fast",
"fastingPersonSupplication": "Supplication said by one fasting when presented with food and does not break his fast",
"insultedWhileFasting": "When insulted while fasting",
"seeingFruitSupplication": "Supplication upon seeing the early or premature fruit",
"sneezingSupplication": "Supplication upon sneezing"
}