0

Is it possible to remove the "?language=de" query string after Drupal stores the current language in the session and/or the cookie?

I want this so that if someone who speaks French sends a link to someone who speaks German, they will by default send a link that shows in the target user's preferred language.

1

You want to send them the language code in the url with the link as http://mysite.com/de/my-url-path and then make sure that you've enabled both session and url as detection methods at admin/config/regional/language/configure

1
  • I assume this requires me to enable the URL language detector, the one that threatens to possibly break lots of public URLs? Such breakage would be unacceptable...
    – RomanSt
    Oct 31 '12 at 0:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.