You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the errorMode to strict, I have the following error when trying to use lcoale_url (when pages for default language are being built):
[11ty] Error: Localized file for URL /en/en/features/ was not found in your project. A non-localized version does exist—are you sure you meant to use the locale_url filter for this? You can bypass this error using the errorMode option in the I18N plugin (current value: "strict"). (via Template render error)
mathieuprog
changed the title
Translations of URLs doesn't work with strict errorMode
Url normalization fails when url has language tag that is current language
Apr 26, 2023
PR: #2921
Operating system
Windows 11
Eleventy
2.0.1
Describe the bug
When setting the errorMode to strict, I have the following error when trying to use
lcoale_url
(when pages for default language are being built):Demo: https://github.com/mathieuprog/11ty_website
When setting errorMode to "allow-fallback" it works.
Reproduction steps
clone
npm start
Expected behavior
No response
Reproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: