astrolicious / i18n

Yet another i18n integration for Astro with server and client utilities, type safety and translations built-in.
https://astro-i18n.netlify.app/
MIT License
48 stars 3 forks source link

Entry points folder not updating with route changes #18

Closed layout-ch closed 5 months ago

layout-ch commented 5 months ago

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

florian-lefebvre commented 5 months ago

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.

florian-lefebvre commented 5 months ago

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