nuxt-modules / i18n

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

Segment parser implementation syncing #2411

Open kazupon opened 1 year ago

kazupon commented 1 year ago
          Ah, we have a diff happening between nuxt ...

We want to use parseSegment and getRoutePath that are exported by nuxt/kit. We need to sync the implementation.

_Originally posted by @kazupon in https://github.com/nuxt-modules/i18n/pull/2408#discussion_r1325411768_

tirojal commented 1 year ago

Those functions was never exported :( https://github.com/nuxt/nuxt/blob/f000e8b605c3702882310ee7b3925233c83ace98/packages/nuxt/src/pages/utils.ts#L149 https://github.com/nuxt/nuxt/blob/f000e8b605c3702882310ee7b3925233c83ace98/packages/nuxt/src/pages/utils.ts#L166

So we need to create an issue in nuxt

BobbieGoede commented 4 months ago

Small update, this can be resolved by implementing https://github.com/unjs/unrouting but only after it is being used by Nuxt, so will be keeping an eye on its progress.