Skip to main content
Version: v1.3.2

Localization

This guide covers the comprehensive internationalization and localization strategy for the Raaghu Component Library, enabling global reach with support for multiple languages, cultures, and regions.

i18n Philosophy​

Our internationalization approach is built on these core principles:

  1. Universal Design: Build components that work seamlessly across all cultures and languages
  2. Performance First: Lazy loading of translations and efficient bundle management
  3. Developer Experience: Simple APIs that make i18n integration effortless
  4. Cultural Sensitivity: Support for diverse cultural conventions and preferences
  5. Accessibility: Ensure i18n doesn't compromise accessibility features

Architecture Overview​

Core i18n Stack​

{
"react-i18next": "^15.2.0",
"i18next": "^24.2.0",
"i18next-browser-languagedetector": "^8.0.2",
"i18next-http-backend": "^3.0.2",
"i18next-icu": "^2.3.0"
}

Additional Tools​

{
"i18next-scanner": "^4.5.0",
"i18next-parser": "^9.0.2",
"@formatjs/intl": "^2.10.10",
"date-fns": "^4.8.0",
"react-hook-form": "^7.54.2"
}

Supported Languages​

Primary Languages (Full Support)​

LanguageCodeRTLStatusCoverage
EnglishenNo✅ Complete100%
SpanishesNo✅ Complete100%
FrenchfrNo✅ Complete100%
GermandeNo✅ Complete100%
Chinese (Simplified)zh-CNNo✅ Complete100%
JapanesejaNo✅ Complete100%
ArabicarYes✅ Complete100%
HebrewheYes✅ Complete100%

Secondary Languages (Partial Support)​

LanguageCodeRTLStatusCoverage
PortugueseptNo🚧 In Progress80%
ItalianitNo🚧 In Progress75%
RussianruNo🚧 In Progress70%
KoreankoNo📋 Planned0%
HindihiNo📋 Planned0%