0.7.50
i18n localization problem test
This commit is contained in:
@@ -35,6 +35,8 @@ def test_code(request):
|
|||||||
def MainPage(request):
|
def MainPage(request):
|
||||||
from RoutesApp.forms import RouteForm
|
from RoutesApp.forms import RouteForm
|
||||||
|
|
||||||
|
print(f'LOCALE_PATHS = {str(settings.LOCALE_PATHS)}')
|
||||||
|
|
||||||
page = StaticPage.objects.get(url='main')
|
page = StaticPage.objects.get(url='main')
|
||||||
|
|
||||||
from ArticlesApp.models import ArticleModel
|
from ArticlesApp.models import ArticleModel
|
||||||
|
|||||||
@@ -185,6 +185,7 @@ LOCALE_PATHS = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
gettext = lambda s: s
|
gettext = lambda s: s
|
||||||
LANGUAGES = (
|
LANGUAGES = (
|
||||||
(u'ru', gettext(u'Russian')),
|
(u'ru', gettext(u'Russian')),
|
||||||
|
|||||||
Reference in New Issue
Block a user