[✨]Non-Routable URL Route Param #274
Replies: 6 comments
-
|
Would it be an option to use |
Beta Was this translation helpful? Give feedback.
-
|
Another option: just use Each locale gets to decide the translation, and the routes have to be able to accept those. I think this would just work? To make it easier to write i18n routes, qwik-city could also accept comma-separated directory names. It can be useful for apps with only a few languages: |
Beta Was this translation helpful? Give feedback.
-
That is an interesting idea, but how would it work? Mainly when you are creating |
Beta Was this translation helpful? Give feedback.
-
|
We could do relative paths with #146 I implemented my other idea in mhevery/qwik-i18n#11 |
Beta Was this translation helpful? Give feedback.
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
-
|
See #146 for the discussion on makePath, but I think the approach with just translating the URL using https://github.com/wmertens/compiled-i18n or $localize is fine (and Misko merged the PR implementing it), so I'll close this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem?
['/', '/[item]']/[lang]/as a prefix to my routes. So the new routes are really['/[lang]/', '/[lang]/[item]'].How can I achieve the above today?
There are couple of issues we run into:
Describe the solution you'd like
When creating an application, I would like to:
Describe alternatives you've considered
explicitly add
/[lang]into the application route.Issues:
langlangshould never be SPA (always MPA). Really navigation acrosslangis a different website.Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions