Yassine Doghri

Results 35 comments of Yassine Doghri

You're definitely right! I haven't thought about this yet, not sure how to organize the docs for now as I have yet to get some features baked-in. On a side...

> To me the hard part is figuring out how to integrate with Astro at the level where you can hot reload virtual files, and the closest thing I could...

> Recently I built my personal site with Astro and this lib. I'm looking for a more elegant way to combine markdown files with translated strings. Currently, I just use...

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...

I think I fixed this in [beta.7](https://github.com/yassinedoghri/astro-i18next/releases/tag/v1.0.0-beta.7), not sure though. Could you please try it on your side?

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

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

> would be nice to have SSR with deno too, right now can't build : Cannot bundle Node.js built-in "fs" imported from "node_modules/i18next-fs-backend/esm/fs.cjs". Consider disabling ssr.noExternal or remove the built-in...

Hey, thanks for the issue! This is definitely a bug. As you said, `localizePath` should take the base path into account. It should be `https://somesite.com/base/cs`. I'll fix this.

Took some head scratching for this one! From 1.0.0-beta.8, base path is taken into account properly, thanks for reporting the issue 👍