Permalinks of custom collection documents are not translated. #87
I am using this plugin for a site with custom collections. In addition to the
collections: faq: output: true
and the collection documents are rendered into each language folder. However, the permalinks are always in the default language. I.e. for a site with languages
layout: faq title: faq.how-much namespace: faq.how-much permalink: /faq/wieviel-kostet-es permalink_en: /faq/how-much-does-it-cost
end up having the URL
I looked at the source code of the plugin and realized the permalink translation is missing for documents. Simply copying the permalink translation code to the document code actually fixed the problem, i.e. all links are translated correctly.
Maybe you could double-check whether this is the right way to do it and include this fix in the next release.
The text was updated successfully, but these errors were encountered: