When setting the prefixDefaultLocale: true, in astro.config.mjs, the Navigation in the DynamicHeader.astro neglects this setting.
The fix is to remove the defaultLocale handling in translationUtils.ts
Line 89 should be
if (trimmed === "") { // Home page return /${locale}/; }
Line 104 should remove the if-statement.
When setting the prefixDefaultLocale: true, in astro.config.mjs, the Navigation in the DynamicHeader.astro neglects this setting.
The fix is to remove the defaultLocale handling in translationUtils.ts
Line 89 should be
if (trimmed === "") { // Home page return/${locale}/; }Line 104 should remove the if-statement.