How to create Multilanguage Posts?

+1 for the hreflang idea :slight_smile:

i’ve been trying following the guide at https://help.ghost.org/article/112-multi-language-content, but i always get the error: “Please select a valid YAML file to import.” when i try to upload my new version of the routes:

routes:

collections:
  /:
    permalink: /{slug}/
    template:
      - index
    filter: 'tag:-fi'

  /fi/:
    permalink: /fi/{slug}/
    filter: 'tag:fi'

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

I tried out a lot of different versions: removing the - filter, removing the index… can’t find anything that would work. I wonder could it be a permission problem anywhere on my server? thanks for helping me! :)

1 Like