-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Translate taxonomies #198
Comments
For anyone else who's come to face the same issue, I managed to make a workaround. Basically, you create additional taxonomies that end with '_locale' (e. g. _es for Spanish). So you have both 'categories' and 'categories_es', both 'tags' and 'tags_es'. Then you modify your _sub_taxonomylinks.twig in the following way (I use subdomain approach, use your own conditions that suite you). This allows to only show language-specific taxonomies depending on the url of the website.
|
Well, another option is to just use Labels. At the time of submitting this RFC I wasn't fully aware that it's capable of doing this on its own. But the above method could still be useful for those who want to have taxonomy links different for other languages. |
There's no mentioning of any way to translate taxonomies in the documentation, so I suppose there's no way to do it. Basically the only way is to have English taxonomies for all languages or have them in all languages at the same time, which doesn't look right. For example, on my website, I have a taxonomy called Categories, which includes News and Articles. At the bottom of each record there's output of the respective taxonomy (Category: News / Category: Articles). Visitors of different language version will not understand what that is.
The text was updated successfully, but these errors were encountered: