Taxonomies for multiple languages

Hi Ghosters!

I just enabled the new language on our Ghost blog. Now I am looking for the ways to separate these two languages for tags and authors. What I would want now is to have something like this:

routes:
  /tag/{slug}/:
    controller: "channel"
    filter: "tag:-nl+tag:{slug}"
  /nl/tag/{slug}/:
    controller: "channel"
    filter: "tag:nl+tag:{slug}"

In this related issue, there was a proposal to hardcode the authors and the tags. That is for us not an option, as there are too many. It sounds for me like a must-have feature if you have different languages on the site to not mix the languages of the post up.

Am I missing something? Any help is appreciated.

Karens

1 Like

Did you see our tutorial on creating multi-language sites?

Could you explain in a bit more detail? Iā€™m not sure what it is you are referring to or what you are trying to achieve with regards to authors/tags.

Thanks for your reply, Kevin.

Yes, I have seen and followed the tutorial. It works perfectly for the index collections:
/ -> has only english articles
/nl -> has only dutch articles

However, the are tags and authors pages which display both languages at the moment. I would like to have something like this:
/tag/tech -> only english articles in category tech
/nl/tag/tech -> only dutch articles in category tech

Does it make sense?

Karens

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.