-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.0 beta 14 breaks loadPath #79
Comments
Hey @fmilioni, I guess you are on Windows, right? |
Hey @yassinedoghri I can confirm this issue on Windows. The path generated is |
+1 to having this issue on Windows. The proposed workaround works fine tho. |
Sorry for late response, and yes, Windows 11. My project is located in |
# [1.0.0-beta.15](v1.0.0-beta.14...v1.0.0-beta.15) (2023-01-08) ### Bug Fixes * add levels to Astro.global pattern and scripts' import statements ([9d88d79](9d88d79)) * remove trailing slash from localized path ([1998309](1998309)), closes [#77](#77) * use fileURLToPath to normalize publicDir pathname accross operating systems ([3c07d6a](3c07d6a)), closes [#79](#79)
🎉 This issue has been resolved in version 1.0.0-beta.15 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hello, /** @type {import('astro-i18next').AstroI18nextConfig} */
export default {
defaultLocale: "fr",
locales: ["fr", "en"],
showDefaultLocale: true,
}; No issue on beta 13 |
# [1.0.0-beta.15](yassinedoghri/astro-i18next@v1.0.0-beta.14...v1.0.0-beta.15) (2023-01-08) ### Bug Fixes * add levels to Astro.global pattern and scripts' import statements ([9d88d79](yassinedoghri/astro-i18next@9d88d79)) * remove trailing slash from localized path ([1998309](yassinedoghri/astro-i18next@1998309)), closes [#77](yassinedoghri/astro-i18next#77) * use fileURLToPath to normalize publicDir pathname accross operating systems ([3c07d6a](yassinedoghri/astro-i18next@3c07d6a)), closes [#79](yassinedoghri/astro-i18next#79)
After this commit all my keys returns default untranslated string.
The temporary workaround that works for me is this snippet bellow:
My config file (works fine in beta 13, but not in 14)
My page
Path:
src/pages/[lang]/index.astro
The text was updated successfully, but these errors were encountered: