11ty / eleventy

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
https://www.11ty.dev/
MIT License
16.84k stars 487 forks source link

i18n pagination for tags and other collections #3047

Open Dexus opened 12 months ago

Dexus commented 12 months ago

Operating system

Windows 11

Eleventy

2.0.1

Describe the bug

I would like to build my website with the support for the collections/tags that would be translated.

While in english "wood" i would like to use in german "holz" as linked tag so we can switch between the languages and receive the same pages maybe with less articles or different articles but the tags should be translated..

Same thing if i create a custom collection with "categories" i would like to have the option to give them a translation and make them dependent on each other. At least in the sense of i18n support.

Reproduction steps

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See an error

Expected behavior

No response

Reproduction URL

No response

Screenshots

No response

Dexus commented 12 months ago

Possible way to fix this issue, would be to add the pagination output to the page object?

or give a additional way to add "related" key as identifer