Hello,
I need to change the metadata description of a modular page depending on the language.
Could someone please explain how to do it?
Hello,
I need to change the metadata description of a modular page depending on the language.
Could someone please explain how to do it?
Im new here but I think you can add the language key behind the module name like default.EN.md
and need to set the language in the page header.
—twig
template: default.EN
So it will search for a `default.EN.html.twig` in your templates folder.
There is also an other way with twig translation, but I did not understand it yet.
Here in the docs its better explained [Multi-Language](http://learn.getgrav.org/content/multi-language#language-based-twig-templates)
Thanks for your answer, I’ve tried again, now it works:
Probably looking for more complicate solutions messed up something.