astrolicious / i18n

Yet another i18n integration for Astro with server and client utilities, type safety and translations built-in.

Home Page:https://astro-i18n.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Entry points folder not updating with route changes

layout-ch opened this issue · comments

The entry points folder generated by the i18n package within the .astro directory does not update to reflect changes made to route names. This leads to errors both locally and when pushing to platforms like Netlify if routes are changed (e.g., from uppercase to lowercase), as the entry points folder retains references to the old route names. While manually deleting the folder locally resolves the issue, this is not a viable solution for platforms like Netlify where manual deletion is not possible. Ideally, the entry points folder should automatically update to reflect route changes without requiring manual intervention.

image

I need to investigate but that may be related to relative links. Basically, since contents are copied over, I have to rewrite all relative paths and that may cause this issue.

I never managed to reproduce it, closing for now. Feel free to reopen with more info if you still encounter it