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