opral / inlang-paraglide-js

Tree-shakable i18n library build on the inlang ecosystem.
https://inlang.com/m/gerre34r/library-inlang-paraglideJs
22 stars 0 forks source link

Can I do change the url look e.g. `site.com/path/en` instead of `site.com/en/path`? #135

Open Antoine-lb opened 1 month ago

Antoine-lb commented 1 month ago

Hello again 👋

As a companion question to the other issue I made. I wanted to know if I could do something like:

example.com/app1/en

instead of:

example.com/en/app1

The reason we want this is bc we have rules based on the path, and we don't want to break them. We just wanted to know if there is a work-around to it.

If is not possible it's fine, we will find something. Thanks for your time!

Antoine-lb commented 1 month ago

I made a similar question here: Can I do change the url look e.g. site.com/path/en instead of site.com/en/path? https://github.com/opral/inlang-paraglide-js/issues/135

But is not the same

LorisSigrist commented 1 month ago

Changing where the locale is in the URL is not yet possible, but something we want to add in the future.

However, we will likely tackle other routing strategies like domain-based routing first.

juliomuhlbauer commented 3 weeks ago

Like Instagram does ?hl=pt-br, would be a nice feature too

Antoine-lb commented 3 weeks ago

Like Instagram does ?hl=pt-br, would be a nice feature too

I think that is the best option