Module Description
Drupal 8 module built for multilingual websites with a friendly suggestion box about other versions of the site with browser-based and HTTP header-based (experimental) language detection.

The module supports auto redirects based on visitor selection and custom prompt messages per language. Here is the full list of configurable options:


* Container CSS element. This is where you would need to specify the main page container. You may need this when you have some additional message boxes at the top of the page, e.g. Cookie usage etc.. By default this is set to "body" HTML tag.
* Always redirect. This option adds auto-redirect to the website based on previously suggested language selection.
* Language switch CSS element. This option overrides the auto language redirect. For instance when used after auto redirect still wants to switch to another language they will be able to do so. Make sure to specify language switch element class name or ID.
* Language suggestion delay. This option allows the language suggestion box to appear with delay. The value is in seconds.
* Dismiss delay. This option indicates how long language suggestion box should be hidden and when to reappear.
* The browser language mapping is the mapping where you specify when to show language suggestions.
* Browser-based/HTTP header-based (Experimental) language detection.
* HTTP header-based language negotiation method.
* Maxmind GeoIP2 Country Database integration (https://www.maxmind.com/en/geoip2-country-database).

If you or some of your visitors not getting language suggestion box please ask them to check their browser language by visiting websites that provide browser details such as mybrowserinfo.com/detail.asp?bhcp=1 and make sure you have the mapping in the module for the language shown in the "User Language".

Configuration page is located at (Administration > Configuration > Regional and language > Language Suggestion) /admin/config/regional/language-suggestion

This is how language suggestion box appears on the site:

To test the module please make sure you have only one language in your browser settings. The language should be different from your current website language. And make sure that language is enabled in your Drupal 8 site.

Project Usage
82
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of language detection and suggestion on multilingual websites by providing auto redirects, custom prompt messages, and browser-based or HTTP header-based language detection options.
Data Name
language_suggestion

OPENAI CHATBOT

OPENAI CHATBOT

14:34:35
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.