You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add internationalization support for verification messages
Add support for localizing SMS verification messages based on the
Accept-Language HTTP header. The library now automatically detects
the user's preferred language and sends verification messages in
that language using Django's translation system.
Changes:
- Extract language from Accept-Language header in API endpoint
- Add language parameter to PhoneVerificationService
- Implement message translation using Django's override and gettext
- Add comprehensive i18n documentation with setup guide
- Add tests for i18n functionality in API and service layers
Co-authored-by: Hari Mahadevan <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ Release Notes
6
6
7
7
Added
8
8
"""""
9
+
- **Internationalization (i18n)**: Added support for localizing verification messages based on the ``Accept-Language`` HTTP header. The library now automatically detects the user's preferred language and sends verification messages in that language using Django's translation system. Contributed by `Hari Mahadevan <https://github.com/harikvpy>`_.
9
10
- **Documentation**: Completely overhauled documentation to professional, enterprise-grade quality:
10
11
11
12
- **Getting Started Guide** - Expanded with prerequisites, step-by-step configuration, environment variables, and testing instructions
0 commit comments