Both pages could be edited with the panel in K2, but in K3 this doesn’t seem to be possible.
I’ve started rebuilding the content for my site three times already, but every time the template names are reset.
My process is as follows:
I create a new page in the default language (NL)
The content gets saved as default.nl.txt
I change the template name in the filename by changing default.nl.txt to overons.nl.txt
So far so good
I add the new language (EN) and try to change the filename to about.en.txt to link the English template and after saving the panel created a new file overons.en.txt
I’m then left with three files in my content folder: overons.nl.txt, about.en.txt and overons.en.txt. The about.en.txt file never gets updated when working in the panel and the linked template is the Dutch one for both languages.
Is this a bug, or am I missing something?
Is it even possible to use different templates for each language in Kirby 3?
This is such a weird setup. May I ask you why do you need different templates for the same page in different languages? Maybe there’s an alternative approach we can use here to tackle the problem.
Just thinking out loud here but couldn’t you for example keep the part in common inside the same template and then load the parts that are different via snippets based on the current active language?
That’s always an option ofcourse. Thing is the current site is build in 2.1.1 and not updated for a while. I believe the recent 2.x release also doesn’t play nice with language dependent templates?
I’d like to port the content over and continue to work on the site.
Question here is: is this even possible in Kirby 3?
Honestly I thought this wasn’t even an option with K2. I always thought you needed matching templates because kirby uses the default language as a fallback to fill in missing content.
So I guess you can’t really do that. I started on Kirby around v2.5 so can’t really tell if this was possible before that due to some bug.