I’m currently struggling with the setup of a Multilanguage site. My site should have German (de) as the Default language and English (en) as a secondary language. After adding initial content to the site I now tried to enable multilang mode and am encountering unexpected behavior:
When adding de.php and en.php manually in site/languages, my panel is now empty and no content is being shown anymore. Saving any content will now create template.de.txt content files.
I then restored everything and tried a different route, adding languages through the panel. As soon as I added German as the first (and default) language and then English as a secondary language, all my content files that were previously template.txt were renamed to template.de.txt.
Expected behaviour
content/
site.txt <- default language, holds previously added, german content
site.en.txt <- will hold translated content
actual behavior
content/
site.de.txt <- holds previously added, german content
site.en.txt <- will hold translated content
Does that mean that there is no default language in my setup anymore? Or is Kirby now also adding the language extension to content files for the default language?
I’m running Kirby 5.3.3 but have tried this with 5.3.2 and 5.2.2 as well.