As a first attempt at Grav, I am trying to create a single page using the Ceevee template. However, I need this to be a multilingual page, and am having some troubles…
Multilingual support is enabled, and I can create the modular pages (xxx.en.md, etc) and this works fine. However, CeeVee makes use of the onpage_menu, and when I change the title of a page in one of the multilingual modular files, this change not only alters the text visible to the user - it also changes the text used in the link - which then no longer matches the anchor (section id) used by the twig template.
Example: In english, I have a first section called “history”. The onpage menu displays “history” and links to the section called “history”. When I create a german page “history.de.md” and change the title to “Geschichte”, the text displayed changes to “Geschichte”, but so does the link, while the anchor is still called “history” - so the link does not work.
Second, related problem: The text displayed in the header seems to be single-language. This is the text in site.yaml, for example, the “title” and the “description” in the header. The Ceevee template displays this at the top of the page. How can I make this text multilingual?