Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Taxonomy and multilanguage

plugins

Solved by Pierre Causse View solution

Started by Pierre Causse 4 years ago · 1 replies · 795 views
4 years ago

Hi !
I've finished a website, and my client asked me if I could add a multi language support. I did so, and activated french & english. Everything went ok, I can now create pages in both language. But since then, taxonomy has starting acting weird.

I had three tax : author, tags, category.
Now that multilanguage is on, only tags & category appear in the admin panel of a new page.

Also, I was embeding those taxonomy in html data in tags, like this for example

{% for auteur in page.header.taxonomy.auteurs %}{{ auteur }} {% endfor %}

And now it doens't work : /

[Update]
Ok, so it seems that my taxonomy have been translated, from "tags" to "tag", and "categorie" to "category". It can now access them in my pages, but "authors" is still missing. I guess that tag and category were commons taxonomies and that now that the site is multi language, they have been taken into account. How can I set the taxonomy in a multi language website ? I've search on the forum and doc, but I coulnd find anything...

Thanks in advance !

4 years ago Solution

Ok I found the solution, I don't know if it's because my grav update or because I activated multilanguage but my site.yalm had been overwrited. I changed it back and now it works : )

👍 2

Suggested topics

Topic Participants Replies Views Activity
Support · by alex, 2 months ago
7 620 14 hours ago
Support · by Supple, 2 days ago
0 48 2 days ago
Support · by TomW, 2 days ago
2 58 2 days ago
Support · by TomW, 6 days ago
3 153 4 days ago
Support · by TomW, 6 days ago
2 115 4 days ago