﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35691	Override translation	Omid Shojaee		"Hello,

I've asked this in the Forum and SO and there was no solution which leads me to believe that this is a bug.

Let's say I want to translate a phrase already translated. This is a matter of personal preference so I don't want to go to Transifex.

First I find the existing translation:

{{{#!python
# .venv\Lib\site-packages\filebrowser\locale\fa\LC_MESSAGES\django.po

#: sites.py:348 templates/filebrowser/include/breadcrumbs.html:9
#: templates/filebrowser/include/breadcrumbs.html:11
msgid ""FileBrowser""
msgstr ""فایل‌بروز""
}}}

Then I create an app called `core`, a file called `translations.py` and add this to it:

{{{#!python
from django.utils.translation import gettext

gettext('FileBrowser')
}}}

Now I make messages and find the phrase in the `.po` file and translate it:

{{{#!shell
#: .\core\translations.py:3
msgid ""FileBrowser""
msgstr ""مدیریت فایل""
}}}

After compiling the messages, I still see the original translation and not my own.

Perhaps the order of apps is important so I put my `core` app before `filebrowser` in the settings but still get the same result.

Therefore, either overriding translations is not possible, or this is a bug.
"	Bug	closed	Internationalization	5.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
