Bonjour,
Problem: my urls output as
https://mysite:8890/page-url-espanol-123es
instead of
https://mysite:8890/es/page-url-espanol-123
I am working on a local development website, multilanguage fr, en & es, with fr set as default language in site.yalm.
My languages file is located inside the user/themes/my-theme/languages.yaml and works as desired.
My urls output fine as
https://mysite:8890/
https://mysite:8890/en
https://mysite:8890/es
https://mysite:8890/page-url-français-123
https://mysite:8890/en/page-url-english-123
https://mysite:8890/es/page-url-espanol-123
I have a page content in markdown (Process twig is enabled.) with
some text in French [**link text**](/{{ 'CATEGORIES.VILLAGE.URL'|t }}) some text in French
It works fine in fr : the url output is
https://mysite:8890/page-url-français-123
But in other languages, the output is
https://mysite:8890/page-url-espanol-123es
instead of
https://mysite:8890/es/page-url-espanol-123
Same situation obviously for English.
I tried many things, including setting the link in HTML, or even just the text without link but none worked.
For ref, this is the content of system.yaml
languages:
supported:
- fr
- en
- es
default_lang: fr
include_default_lang: false
include_default_lang_file_extension: true
translations: true
translations_fallback: true
session_store_active: false
http_accept_language: true
override_locale: false
pages_fallback_only: false
debug: false
Any suggestion to have the language code inserted just after the domain?
Thank you for your suggestions.