Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jsapp/js/utils.es6
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export function replaceSupportEmail(str) {
}

export function currentLang() {
return cookies.get(LANGUAGE_COOKIE_NAME) || 'en';
return 'en';
}

// langString contains name and code e.g. "English (en)"
Expand Down
6 changes: 3 additions & 3 deletions kobo/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
'corsheaders.middleware.CorsMiddleware',
# 'django.contrib.sessions.middleware.SessionMiddleware',
'oc.middleware.OCSessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
# 'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
# 'django.middleware.csrf.CsrfViewMiddleware',
'oc.middleware.OCCsrfViewMiddleware',
Expand Down Expand Up @@ -246,9 +246,9 @@ def __init__(self, *args, **kwargs):

LOCALE_PATHS = (os.path.join(BASE_DIR, 'locale'),)

USE_I18N = True
USE_I18N = False

USE_L10N = True
USE_L10N = False

USE_TZ = True

Expand Down