﻿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
23328	get_javascript_catalog bug	None	nobody	"There is a project with two languages: ""en"" and ""uk"" (ukrainian).
Default language is ""uk"".

There are pharases:
{{{
locale/
    en/
        djangojs.po
            msgid ""Всім привіт!""
            msgstr ""Hello everyone!""
    uk/
        djangojs.po
            msgid ""Всім привіт!""
            msgstr """"
}}}
In this case, the activated language ""uk"" phrase ""Всім привіт!"" will be in ""en"" -- ""Hello everyone!"".
It's a bug, because must be ""uk"".

I propose remove loading ""en"" translation as default (is better).
Or change update method for other default language:
{{{
if default_locale != 'en':
    for path in paths:
        try:
            catalog = gettext_module.translation(domain, path, [default_locale])
        except IOError:
            catalog = None
        if catalog is not None:
            # t.update(catalog._catalog)  # remove it
            t = catalog._catalog          # <- add it
}}}
"	Bug	new	Internationalization	master	Normal				Unreviewed	0	0	0	0	0	0
