The Language module provides a block that can be used to switch the current interface and content language. By default, the language switching block allows the user to change to any language present in the system, but this can also be configured to restrict the options to specific languages. If the checkbox for Customize Content language detection
has been selected, you must select whether the block uses the interface or content configuration.
Language switcher block configuration
The block will output each language translated into the target language. For example, Spanish is output as Español
no matter which language the user is currently in. The link for each language is generated using the first enabled detection method that alters the URL. This means that only URL and Session provide links. For example, if URL is placed first, the link for Spanish will look like /es
and if Session is it would be /?language=es
. If neither URL
or Session
are selected...