Ticket #363 (closed improve feature: fixed)
new system for language switching
| Reported by: | lemon-head | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.1.2.1 |
| Component: | BW General | Keywords: | |
| Cc: |
Description
Currently the language switch rox/in/lang, as well as the rox/tr_mode/* use the PRequest::back() to get back to the page you were viewing.
This is not very reliable and can cause serious problems, as explained in #313, #336, #350, and in one email I wrote.
New system:
Instead of 'rox/in/lang', we now send a request 'rox/in/lang/original/page'. This way, we don't need PRequest::back().
Example:
on searchmembers/index, the request to switch to finnish will be 'rox/in/fi/searchmembers/index'. Then 'header("Location: searchmembers/index")' is called to make the redirect.
Change History
Note: See
TracTickets for help on using
tickets.



should be fixed with [3823] - new language switcher