Comments (3)
Hey @franco-onevillas, sorry, I'm not sure I understand what is happening here. I visited the website you've linked, but I don't understand the problem.
Could you please be more specific?
from astro-i18next.
Same thing happening with my site bulkycash.com, Translation loads only on localhost.
Update: I found a workaround. I was building the app on my machine and then shipping it to my VPS to fix it I built the source(npm run build
) on VPS and now the translations work fine.
from astro-i18next.
Hey @yassinedoghri, I'm sorry for the late response.
I know it's not ideal, but I solved this by loading resources manually. On prod site (with CF domain set) translations were broken and not loading after hitting a link to a second page. Once I disabled the cache in chrome, it was working without problems... so I assume it was something related to that.
from astro-i18next.
Related Issues (20)
- Path mismatch if Astro runs in docker
- No Build - AstroI18nextConfig is not exported by node_modules/astro-i18next/src/types.ts HOT 1
- How to use Locize?
- localizePath is not able to localize urls with a dynamic path HOT 2
- Anyone tried to make it work within SolidJS UI Components? HOT 1
- loadNamespaces not working currently HOT 1
- Cannot find module 'i18next' imported from 'astro:scripts/page-ssr.js' HOT 1
- Array of objects HOT 3
- [vite] Error when evaluating SSR module astro:scripts/page-ssr.js: failed to import "i18next-fs-backend" |- Error: Cannot find module 'i18next-fs-backend' imported from 'astro:scripts/page-ssr.js' HOT 2
- why `astro-i18next generate ` cli modify my src folder? HOT 1
- Failed to resolve entry for package "C:/Users/Visitor/Desktop/suka/minaglobal/src/..". The package may have incorrect main/module/exports specified in its package.json. File: C:/Users/Visitor/Desktop/suka/minaglobal/node_modules/astro-i18next/src/components/Trans.astro
- HeadHrefLangs component has not hreflang="x-default" tag
- Error when evaluating SSR module HOT 4
- Can't build with Cloudflare SSR adapter
- Using `astro-i18next generate` with `showDefaultLocale` does throw an error HOT 2
- Share styles between translated pages
- Disable 'missing translation key' for default locale when using text as keys
- interpolatedString seems undefined HOT 5
- translation.json not hot reloading. need to restart astro dev
- Support og:locale
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro-i18next.