Task #1865
closedEpic #1602: Auth and Security API Integration
Implement Localization in Auth Module (Frontend + Backend)
Description
Implement multilingual support in the Auth module including login, signup, OTP verification, validation messages, and API responses. Ensure consistent localization between frontend and backend using standardized locale handling.
Supported Languages:
en (Default)
es-CO (Spanish - Colombia)
es-MX (Spanish - Mexico)
pt-BR (Portuguese - Brazil)
ar (Arabic - RTL)
Scope of Work:
🔐 Frontend
Login / Signup screens
OTP verification screens
Validation messages
Error messages
Buttons, labels, placeholders
⚙️ Backend
Auth API responses (login, signup, OTP)
Validation error messages
Middleware for locale handling
Tasks:
Frontend
Setup i18n framework
Create locale files
Replace hardcoded strings
Implement language switcher
Add RTL support for Arabic
Backend
Implement locale middleware
Replace hardcoded messages with keys
Create translation files
Localize validation and auth errors
Implement fallback to English
Acceptance Criteria:
All Auth screens are fully localized
API responses change based on locale header
Validation & error messages are translated
Arabic works with RTL layout
No hardcoded text remains
Updated by Muhammad Fahad 1 day ago
- Tracker changed from Epic to Task
- Estimated time changed from 2:00 h to 3:00 h
Updated by Talha Ali about 20 hours ago
- Due date set to 04/22/2026
- Status changed from New to Completed
- % Done changed from 0 to 100