You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Typhoon theme with blog functionality, with two languages activated: Spanish (ES) as default language and English (EN) as second option.
So each post has currently two files in each directory:
spec.md
spec.en.md
where spec.md is the default file (in Spanish) and spec.en.md the translated file.
Each file has in its frontmatter something like this (extract):
When switching to English, the taxonomy list is "translated" correctly, means that it only filters the tags from all spec.en.md files.
See also the following image:
However, when using Spanish as the default language, all tags are duplicated, meaning that the Spanish version + the English version are listed (e.g. diseño + design or planos + cds).
Another image:
And by the way, when being in the Spanish environment and clicking on a tag in English from the tag list (e.g. design), an empty list of posts comes up, whereas when clicking on "diseño" the correct list of posts is shown.
Any idea or suggestion is appreciated.
Grav v1.7.44
Taxonomylist v1.3.5
The text was updated successfully, but these errors were encountered:
A quick afterthought: I seems that it has something to do with the cache.
When I am on the English version and clear the cache, then all tags are fine (English only). Switching to Spanish, tags for English + Spanish come up.
The other way around is exactly the same: when I am on Spanish and clear the cache + reload the page, all tags are fine (Spanish only) and when switching to English, both versions are shown.
Right now, where this problems occurs, I am on development settings:
Hi there!
I am using the Typhoon theme with blog functionality, with two languages activated: Spanish (ES) as default language and English (EN) as second option.
So each post has currently two files in each directory:
where spec.md is the default file (in Spanish) and spec.en.md the translated file.
Each file has in its frontmatter something like this (extract):
When switching to English, the taxonomy list is "translated" correctly, means that it only filters the tags from all spec.en.md files.
See also the following image:
However, when using Spanish as the default language, all tags are duplicated, meaning that the Spanish version + the English version are listed (e.g. diseño + design or planos + cds).
Another image:
All the rest of translation is working well, the URL also always indicates which language is used (e.g. https://localhost:8000/es/blog/ or https://localhost:8000/en/blog/); it's just the tags.
And by the way, when being in the Spanish environment and clicking on a tag in English from the tag list (e.g. design), an empty list of posts comes up, whereas when clicking on "diseño" the correct list of posts is shown.
Any idea or suggestion is appreciated.
Grav v1.7.44
Taxonomylist v1.3.5
The text was updated successfully, but these errors were encountered: