﻿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
28434	JavaScriptCatalog and JSONCatalog don't contain translatations from LOCALE_PATHS	Stanislav	nobody	"JavaScriptCatalog and JSONCatalog does not contains translate from locale\de\LC_MESSAGES\django.po or translate from locale\ru\LC_MESSAGES\django.po.

settings.py
{{{
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True

LANGUAGES = [
    ('en', _('English')),
    ('de', _('German')),
    ('ru', _('Russian')),
]
LOCALE_PATHS = (
    os.path.join(BASE_DIR, 'locale'),
)
}}}

urls.py
{{{
urlpatterns += i18n_patterns(
    url(r'^jsi18n/$', JavaScriptCatalog.as_view(), name='javascript-catalog'),
    url(r'^jsoni18n/$', JSONCatalog.as_view(), name='json-catalog'),
)
}}}

The command line
{{{
django-admin makemessages -l de
django-admin makemessages -l ru
}}}
I'm added translation into locale\de\LC_MESSAGES\django.po, locale\ru\LC_MESSAGES\django.po

The command line
{{{
django-admin makemessages -d djangojs -l de
django-admin makemessages -d djangojs -l ru

django-admin compilemessages
}}}

But the response from the 
http://127.0.0.1:8000/ru/jsi18n/, 
http://127.0.0.1:8000/de/jsi18n/ 
http://127.0.0.1:8000/ru/jsoni18n/
http://127.0.0.1:8000/de/jsoni18n/
does not contains translate from LOCALE_PATHS. 
This urls contains tranlate only from
django\contrib\admin\locale\de\LC_MESSAGES\djangojs.po
django\contrib\admin\locale\ru\LC_MESSAGES\djangojs.po

I asked about this problem in 3 forums, but no one could answer.
Full code here https://github.com/ctac22/django-translation/tree/master/myproject"	Bug	closed	Internationalization	1.11	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
