Open JonasCykelgear opened 10 months ago
Thanks for the report, I did check your view-source:
and looks like the only work not translating on the ssr is the "Brands" all the rest looks good.
any hints?
Yeah. Some of the texts are from the DB which doesnt get translated if that makes sense.
This only happens to texts that gets translated in vue files using the $t function. Also only in ssr mode. When i run the project locally everything works fine.
Here might be a better example, if you look at the product pricing and stock information: https://www.cykelgear.dk/tilbehor/olie-fedt-vedligehold/kaedeolie-og-voks/muc-off-dry-lube-120ml
Im having this problem where my language starts at english then switches to danish a moment after. It happens when i run in ssr mode.
You can see it happen here - Look at the "Mærker" text, then refresh the page: https://www.cykelgear.dk/
ssr.js:
app.js:
Let me know if any information is needed