Ticket #1082 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

language changes behave strangely

Reported by: johnlawrenceaspden Owned by:
Priority: awaiting triage Milestone:
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


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

comment:1 Changed 3 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

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.

comment:2 Changed 3 years ago by dread

Language switch problem has been around since it was introduced in the 1.3.1 release.

Note: See TracTickets for help on using tickets.