Skip to content
Language Suggestion module for Drupal 8
PHP JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
config/install
src
README.md
composer.json
language_suggestion.info.yml
language_suggestion.libraries.yml
language_suggestion.links.menu.yml
language_suggestion.links.task.yml
language_suggestion.module
language_suggestion.routing.yml

README.md

Language Suggestion module for Drupal 8

Drupal 8 module built for multilingual websites with a friendly suggestion box about other versions of the site with browser based language detection.

Language suggestion mapping page:

Language Suggestion Drupal 8 module

Settings page:

Language Suggestion Drupal 8 module

Suggestion box that appears for visitors

Language Suggestion box Drupal 8 module

Use case

Sometimes when implementing multilingual sites there might be a case when rather than redirecting to a version of the site that you assume visitor is from you might want suggest and ask them if they would like to continue to a language that we think he understands.

This module does exactly that. It shows a little box with some text and a link to take to a sugested version of the site. The module also provides a way to dismiss the box which just snoozes it for a configurable time. It can also remember selection and automatically redirect to previously selected language. This option can be overriden by a user when manually selecting a language from the language switcher/dropdown.

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

Module developed by Minnur Yunusov at Chapter Three

Install

composer require drupal/language_suggestion or download from Language Suggestion Drupal project page

You can’t perform that action at this time.