Multilingual content and single language admin interface I want my site's content to be multi-lingual. I have a language switcher that can toggle between both the English and Spanish translations of a page. I want the administrative interface to always be in English, no matter whether you navigate to it from a Spanish or English translation of the page.

Here is my configuration at /admin/config/regional/language/detection:



Here is my configuration at user/1/edit:



My admin interface is always in English, but now my content is also always in English, no matter if I toggle the page to Spanish.

I have tried many settings, including the settings in Content language detection.

What is the correct configuration to achieve this?



/es/node/1



/admin/config/regional/language/detection/url



/admin/config/regional/language
On a fresh install, I could get it working that way:

In admin/config/regional/language/detection


put  Account administration pages on top of Interface text language detection an enable it of course.
enable URL method as second choice
enable Content language detection and put URL on top of detection methods.


 

In user/1/edit language settings :


set Administration pages language with your preferred language


There are various issues on D.O about that, maybe this is the most relevant  one : When content language detection is different from interface language detection, the detected language is not applied to the rendered content. 

Apply these patches :


When content language detection is different ... (patch #24)
'Account administration pages' language negotiation causes 'access denied' in toolbar subtree caching (patch #10)
Admin toolbar should always be rendered in the admin language (if set) (patch #40)


Empty caches :


$ drush cache-rebuild


Language dropdown switcher and everything else seems now to be working fine !

An example of spanish content, strings passed through t() are translated, admin toolbar in english...



The same page edited: admin interface fully in english, but content shows  the correct translation....