What happened?
On a multilingual blog with translated posts, the same issue appears at two places:
- A non-English post displays an English-formatted non-English date like
juillet 15, 2024 instead of 15 juillet 2024 as it should be for French
- A non-English list page shows the same issue
Steps to reproduce
It's visible on my blog:
- Go to https://david.guillot.me/en/posts/tech/following-up-mother-of-all-htmx-demos/
- See that just below the post title, the date is, correctly,
July 15, 2024
- Now click on the
Fr link to see this posts French translation
- Now you're on https://david.guillot.me/fr/posts/tech/suite-a-ma-presentation-de-react-vers-htmx-djangocon-europe-2022/, and you can see that just below the post title, the date is, incorrectly,
juillet 15, 2024 ; the date has been translated, but not localized ; it should be 15 juillet 2024
- Now you can click on
Technologie in the top menu to get to the section list page, and you can see the posts dates are also English-formatted non-English dates
Hugo Version
Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod)
PaperMod Version
9ea3bb0
What kind of devices are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Browser Version
No response
Relevant log output
Nothing relevant to show here, it's an HTML templating bug.
Repository/Source Code link where this issue can be reproduced
https://codeberg.org/David-Guillot/blog
Code of Conduct
What happened?
On a multilingual blog with translated posts, the same issue appears at two places:
juillet 15, 2024instead of15 juillet 2024as it should be for FrenchSteps to reproduce
It's visible on my blog:
July 15, 2024Frlink to see this posts French translationjuillet 15, 2024; the date has been translated, but not localized ; it should be15 juillet 2024Technologiein the top menu to get to the section list page, and you can see the posts dates are also English-formatted non-English datesHugo Version
Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod)
PaperMod Version
9ea3bb0
What kind of devices are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Browser Version
No response
Relevant log output
Nothing relevant to show here, it's an HTML templating bug.Repository/Source Code link where this issue can be reproduced
https://codeberg.org/David-Guillot/blog
Code of Conduct