nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.71k stars 478 forks source link

fix: encode `switchLocalePath` during SSR replacement #3043

Closed BobbieGoede closed 2 months ago

BobbieGoede commented 2 months ago

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

This should resolve #3042, but if I'm overlooking something please let me know.

@kazupon I created a v8 branch which diverts from main at 7930a2773311bef05bd98a3a98540ce17b6a7d6b, I have also cherry picked some changes from the main branch where possible.

If this PR gets merged it will need to be added to the v8 branch as well, will the normal release flow work from that branch? ๐Ÿค”

๐Ÿ“ Checklist

pmnzt commented 2 months ago

Something is broken about this function, it now returns nothing @kazupon @BobbieGoede

BobbieGoede commented 2 months ago

Something is broken about this function, it now returns nothing @kazupon @BobbieGoede

Can you open a new issue and provide a minimal reproduction? ๐Ÿ™

pmnzt commented 1 month ago

Something is broken about this function, it now returns nothing @kazupon @BobbieGoede

Can you open a new issue and provide a minimal reproduction? ๐Ÿ™

here https://github.com/nuxt-modules/i18n/issues/3051