getgrav / grav-plugin-taxonomylist

Grav TaxonomyList Plugin
https://getgrav.org
MIT License
25 stars 14 forks source link

Plugin lacks multilanguage support/instructions #22

Open spamrakuen opened 6 years ago

spamrakuen commented 6 years ago

I don't want my spanish page to show english tags.

This is how I've fixed this;

enabled: true route: '/blog' language: en: __taxonomy: 'tag' es: __taxonomy: 'tages'

(where __ is a tab)

This way, the plugin becomes multilanguage.

rhukster commented 6 years ago

There's actually no strings in the plugin. The taxonomy comes directly from Grav, and each page in each translation can have it's own translated taxonomy types. Basically, as you have done already.
You shouldn't need to pass in the translated taxonomy as it should already be translated for the current language.

Sogl commented 2 years ago

It works but creates each language url (en_tag, fr_tag etc) instead of tag. The usual tag in URL doesn't work.