yassinedoghri / astro-i18next

An astro integration of i18next + some utility components to help you translate your astro websites!
https://astro-i18next.yassinedoghri.com
MIT License
487 stars 36 forks source link

Netlify deploy with SSR #26

Open xTalAlex opened 2 years ago

xTalAlex commented 2 years ago

Hello. I'm trying to use this package together with SSR functionalities on Netlify.

Without SSR features everything works. When i plugin the Netlify adapter the deployment phase fails with this error:

2022-08-27 (1)
yassinedoghri commented 2 years ago

Hey, thanks for creating the issue! I've never used Astro with SSR, that's probably why it doesn't work.

Though, this is a priority for v1.0.0 release. So I've added it to the roadmap. I'll have to do some research to understand how to make it work properly.

yassinedoghri commented 2 years ago

I think I fixed this in beta.7, not sure though. Could you please try it on your side?

xTalAlex commented 2 years ago

it does build but visiting the website shows this error.

2022-09-03
yassinedoghri commented 2 years ago

Ok, thanks for the info, I'll take a look at it tomorrow.

yassinedoghri commented 1 year ago

Not sure what's happening here, I've tried it myself and indeed get the same error: https://astro-i18next-ssr-example.netlify.app/

Here's the reproduction: https://github.com/yassinedoghri/astro-i18next-ssr-netlify-example

ninjaa commented 1 year ago

I added another issue which I will now close as a duplicate. I am experiencing this issue

https://github.com/yassinedoghri/astro-i18next/issues/82

giuseppeaiello commented 1 year ago

Astro's release 2.1.3 should have solved the "'filename' must be a file URL object" issue.

EDIT: after a test, it seems the issue caused by the dynamic path on SSR is still there... 😵

preetamslot commented 1 year ago

is there a fix in sight for this?

stormynight9 commented 1 year ago

Any updates?

miicolas commented 1 year ago

Any updates?

ab-ba741 commented 5 months ago

Any updates?