Hello,
I’m building a multilingual site and am using the ref shortcode for links between posts.
Everything works fine except when the target post does exist in the language of the origin post:
posts/
  post_origin/
    index.md
    index.en.md  <--- the link is here
  post_target/
    index.md     <--- and I would like to link here
I expected Hugo to fallback from en to the default language and find index.md even though the calling page is in a different language. But this doesn’t seem to happen.
The documentation for multilingual themes support suggests that some care must be taken when building urls and lists some rules. I wonder how can these rules be applied to the rel shortcode.
Can someone help me figure this out? Am I doing something wrong?
Meanwhile I temporarily configured refLinksErrorLevel = WARNING for now in config.toml. But this won’t be acceptable when the site goes live.
Thanks in advance,
Nuno