Repository navigation
Internationalization
Bosaj edited this page Aug 20, 2026
·
4 revisions
The application supports three official languages: Ψ§ΩΨΉΨ±Ψ¨ΩΨ© (Arabic), FranΓ§ais (French), and English.
| Code | Language | Layout Direction | Font Family |
|---|---|---|---|
ar |
Ψ§ΩΨΉΨ±Ψ¨ΩΨ© (Arabic) |
RTL (dir="rtl") |
Tajawal, Cairo, system-ui |
fr |
FranΓ§ais (French) |
LTR (dir="ltr") |
Inter, system-ui |
en |
English |
LTR (dir="ltr") |
Inter, system-ui |
All static UI strings are defined in src/translations.js. Keys must be provided in all three language dictionaries:
export const translations = {
ar: {
gallery: 'Ω
ΨΉΨ±ΨΆ Ψ§ΩΨ΅ΩΨ±',
donate: 'ΨͺΨ¨Ψ±ΨΉ Ψ§ΩΨ’Ω'
},
fr: {
gallery: 'Galerie',
donate: 'Faire un don'
},
en: {
gallery: 'Gallery',
donate: 'Donate Now'
}
};-
Direction State:
LanguageContextupdatesdocument.documentElement.diranddocument.documentElement.langon language change. -
Icons: Directional icons (arrows, chevrons) must include dynamic rotation:
<FaArrowRight className={language === 'ar' ? 'rotate-180' : ''} />
-
Marquee Exception: The gallery marquee container MUST remain
dir="ltr"to preserve continuous CSS translation offsets.
Production Web App: https://a-a-b-v.netlify.app/
Official Email: asosoufaraelkhir48@gmail.com | GitHub Repo: Bosaj/les-ambassadeurs-web
Facebook β’ Instagram β’ X (Twitter) β’ LinkedIn β’ WhatsApp
Platform developed & maintained by Oussama ELHADJI β All Rights Reserved Β© 2026