This module is often used alongside the Language Cookie module in order to remember the language choice on the language selection page.
When using a page cache such as varnish (and thus not running any PHP), we cannot implement any cookie-based redirect logic in PHP so we may want to do this in Javascript insteda
The attached patch adds a setting to enable automatic Javascript-based redirects based on the language stored in the language cookie so that the redirect also works on cached pages.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | language_selection_page-cookie-redirect-3.patch | 4.3 KB | stefan.r |
| language_selection_page-cookie-redirect.patch | 3.58 KB | stefan.r |
Comments
Comment #1
polComment #2
stefan.r commentedRevised patch attached
Comment #5
polThanks Stefan !