Skip to content

Conversation

harikvpy
Copy link

A small tweak to the code to support localizing the verification message. This is a crucial requirement for many multilingual systems.

Comment on lines +24 to +25
str(serializer.validated_data["phone_number"]),
serializer.validated_data['language']
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to take the language from the value of Accept-Language HTTP header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants