Changes between Version 1 and Version 2 of Ticket #29712, comment 36


Ignore:
Timestamp:
Oct 24, 2020, 9:36:57 PM (4 years ago)
Author:
Manav Agarwal

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29712, comment 36

    v1 v2  
    1 Can we use {{{ LANG_INFO from django.conf.locale}}}  in order to solve the conflict or as an alternative of {{{language_code_re}}}? If yes, then please confirm so that I may submit a patch, and also please suggest some way to use the same
     1Can we use {{{ LANG_INFO from django.conf.locale}}}  in order to solve the conflict or as an alternative of {{{language_code_re}}}? If yes, then please confirm so that I may submit a patch, and also please suggest some way to use the same.
     2OR
     3We could even use the regex from {{{language_code_re}}} which is {{re.compile(r'^[a-z]{1,8}(?:-[a-z0-9]{1,8})*(?:@[a-z0-9]{1,20})?$', re.IGNORECASE)}}}.
     4
     5Please suggest the best option to work on, for the patch.
Back to Top