Closed fmilioni closed 1 year ago
Hey @fmilioni, I guess you are on Windows, right?
Hey @yassinedoghri I can confirm this issue on Windows. The path generated is /D:/somepath
instead of D:/somepath
. https://github.com/unjs/pathe works well for path normalization across OSs (used in nuxt3)
+1 to having this issue on Windows. The proposed workaround works fine tho.
Hey @fmilioni, I guess you are on Windows, right?
Sorry for late response, and yes, Windows 11. My project is located in D:
partition.
:tada: This issue has been resolved in version 1.0.0-beta.15 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Hello, Should the configuration be changed accordingly? I still have the bug on the beta 15 version...
/** @type {import('astro-i18next').AstroI18nextConfig} */
export default {
defaultLocale: "fr",
locales: ["fr", "en"],
showDefaultLocale: true,
};
No issue on beta 13
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