Adds an extra "Cookie" field to the Language Negotiation settings, allowing the language to be set according to a cookie.
The cookie name, domain & expiration are configurable in the settings page.
- Enable the module and go to: Administration » Configuration » Regional and language » Languages
- Enable "Cookie" detection method and re-arrange it as you see fit. The recommended arrangement is: URL -> Session -> Cookie.
- If you a language selection splash screen is needed, the Language Selection Page module is recommended. In this case, the recommended setup is: URL -> Session -> Cookie -> Language Selection Page.
- For the cookie to be set properly on cached pages, the variable
page_cache_invoke_hookshas to be set to TRUE. This can be done by adding the following line to your settings.php file:
$conf['page_cache_invoke_hooks'] = TRUE;
The maintainer provides consulting services and paid development, e.g. for implementing a specific feature. Help improving the module and get in contact!