-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KZ locale instead of RU #438
Comments
Hi, Can you precise what you see and provide a minimal test case or an example project? |
if I change the country, then it works correctly. but RU does'n work |
Good find, it looks like a bug! The following is ordering the prefix by label (Kazakhstan must be before Russia in your alphabet as well). django-phonenumber-field/phonenumber_field/widgets.py Lines 36 to 44 in e40d101
The value is |
I thought so, that it's all about the prefix. tell me, can I leave only the prefix without the country name? Some parameter? |
We would welcome a contribution to fix the original issue. It think the values should be a mix of region codes and prefixes. Something like |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I believe this has been fixed with #493. |
when i select the Russian localization ( PHONENUMBER_DEFAULT_REGION = 'RU' in settings.py), Kazakhstan is displayed in the template
The text was updated successfully, but these errors were encountered: