I'm currently writing an app in Django and I'm using the default django.contrib.auth
for the users. I'm currently doing the internationalization. I already generated the locale files and it's working well with my custom urls, but it's not working for the auth urls (e.g., login, password_reset, reset/done/). Is it possible to override those?
Here are my files:
settings.py:
LOCALE_PATHS = [ os.path.join(BASE_DIR, 'locale'), ]
urls.py:
re_path(_(r'^users/'), include('django.contrib.auth.urls')),
django.po:
#: users/urls.py:10
msgid "^login/$"
msgstr "^iniciar_sesion/$"