I’ve come across an issue with the non-uniqueness of this UniqueId when using the isTranslated variable.
On a site with a structure like this
/about/
/about/index.md
/about/index.de.md
/about/… (etc)
/services/index.md
/services/… (etc)
When I include the partial example here https://gohugo.io/content/multilingual/#link-to-translated-content I get issues because the services/index.md has the same UniqueId as the about/index.md and therefore they both thing they have a translation.
Same occurs for any other index.md file.
The workaround at the moment is to make sure the filenames are unique across the whole site, but should the UniqueId not be “more” unique…
Many thanks for any thoughts,
Bruce