Weight Language

Component ID

1876362

Component name

Weight Language

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Allows you to keep the default site language to English (or whatever other language you want) while providing a secondary default interface and content language.

This is useful for when you don't want or can't change the default language of a site (it is a mess to do so when content exists already) but you do need to change the default language the site is displayed as.

It will return the first (the one with the lower weight) enabled language as per the language list (admin/config/regional/language).

Similar to

Similar (but way simpler) than Fallback language negotiation, see #1876366: Use weight to select language (simplify module)

Sponsor

This module is sponsored by SeeD EM.