0

I want to edit the django-allauth translation files.

When I first opened the en django.po file, PyCharm gave the message: This file does not belong to the project.

If I edit the file, is it going to cause problems that I don't want or can I edit the translation without messing something up?

Brian
  • 15
  • 6

1 Answers1

1

The LOCALE_PATHS setting takes highest precedence in choosing translation. Therefore if you copy the translation files for your locale into some local directory and point LOCALE_PATHS there, you can edit as you need (and then compilemessages) and django will use those.

Check this answer for an example folder structure.

fekioh
  • 894
  • 2
  • 9
  • 22