I have a template with this:
{% trans \"Log out\" %}
This is translated automatically by Django to Spanish as Terminar sesión. How
Based on Robert Lujo answer, his alternative is totally working. And IMO simpler (keep the overriden locales in a special .po file only). Here are the steps:
Add an extra path to the LOCALE_PATHS Django settings.
LOCALE_PATHS = (
# the default one, where the makemessages command will generate the files os.path.join(BASE_DIR, 'myproject', 'locale'),
# our new, extended locale dir
os.path.join(BASE_DIR, 'myproject', 'locale_extra'), )
find the original Django (or 3rd party) string to be translated
msgid "Recent actions"
msgstr "Last actions"