Allows a language to specify an alternative language. If a node translation for a specific language does not exist, Drupal will try to load the translation for the alternative language before throwing a 404.

This module is useful if you have multiple languages and only one language is typically translated. Rather than create all of the other translations and maintain those, the non-translated languages can load the node from the alternative language.

For example, you have the following language configuration:

  • / - US English - default
  • /en-ca - Canada English - alternative language is US English
  • /fr-ca - Canada French

There is a node /contact, you will get three URL's:

  • /contact - US English
  • /en-ca/contact - Canada English
  • /fr-ca/nous-joindre - Canada French

There are only two versions of the node, US English and CA French. The CA English uses it's alternative language and loads the US English version so all three pages work and the URL's are correct.

Alternative Language Blocks

  • Allows block content to be scanned for links and have those links "translated".
  • Maintains the block relationship on a node that has languages that are using an alternative language.

Alternative Language Menu Blocks

  • Maintains the active trail on a node that has languages that are using an alternative language and ensures menu blocks show on those nodes.

Alternative Language Pathauto

  • It's possible that a language neutral page can be added below a page with a specific language or vice versa. This will break any pathauto tokens that act upon the parent.

Alternative Language Redirect

  • Alters any redirects to handle alternative languages.

Alternative Language Views

  • Provides an additional language filter to help build views.

NOTE: This module only currently works with path prefixes and not domains. Configuring for domains is upcoming.

Project information

Releases