Ticket #1082 (closed defect: fixed)
language changes behave strangely
Reported by: | johnlawrenceaspden | Owned by: | |
---|---|---|---|
Priority: | awaiting triage | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
Set language to Greek, flash message says 'Language set to: English', but page is now about half in Greek.
Set language back to English causes server error:
AttributeError?: 'NoneType?' object has no attribute 'path'
Module ckan.controllers.error:29 in document view
if original_request.path.startswith('/api'):
However going to a new page reveals that it's back to English
Change History
Note: See
TracTickets for help on using
tickets.
The flash message 'Language set to: English' was always in the previous language, not the new one. Pudo fixed this in cset:eaf342823caf and I have transplanted this into release-1.4.3.
I've also added/corrected translations for all languages for 'Language set to: English' so that it makes sense!
"Set language back to English causes server error:" I can't reproduce this. The exception looks like a problem with the forwarding, which improvements were made in #1126.