How to correctly set a default language?

Ok, I tried it with one of my local installations with this configuration:

languages:
  supported:
    - fr
  include_default_lang: false

This works fine for me:

  • No language code in the URL
  • This starting html tag: <html lang="fr">

As far as i understand the documention that you mentioned above it is possible to choose a language manually by adding the language code to the URL if you have more than one language.

1 Like