It does not seem possible to translate layout partials, am I right? Or am I missing something?
I have a partial layouts/partials/footer.html
which is included into my homepage layouts/_index.html
via layouts/_default/baseof.html
.
I’d love to be able to have a translated layouts/partials/footer
.de
.html
, but that does not work unless I also have a layouts/_index.de.html
and layouts/_default/baseof.de.html
. These are identical to the original (default-language) versions, except for the explicit inclusion of the footer.de.html
partial. As a result, I have a lot of duplicate code.
It’d be so elegant if a translated partial would be respected without the additional layout files. Possible at all?