all-contributors / all-contributors/allcontributors.org
Correct internal links for each localisation
- Langage dominant
- MDX
- Étoiles
- 8.1k
- Forks
- 1.7k
- Merge moyen
- 17 h 1 min
- PR mergées (30 j)
- 6
Description
Currently, links in pages (_not_ on the sidebar) are hardcoded to paths in the `en` localisation. For example, in the [emoji key page in french](https://allcontributors.org/fr/reference/emoji-key/) the first two links for "Bot" and "CLI" both link to the `/en/` localisation, rather than `/fr/`.
It will be jarring for readers to be moved between languages like this, and it is inconsistent with the behaviour of the sidebar.
Ways we could approach this,
- An Astro component to write/rewrite links based on the selected locale (@trueberryless any ideas or experience here?)
- Explicitly writing the links in each translation
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.