#Localizing pathnames with and without language prefix

9 messages · Page 1 of 1 (latest)

lusty ibex
#

Hello, in my next 14 app, I'm using next-intl with cookies for translation to 11 languages in my app. There a some static parts in my app that are only in english and not translated.
Now I need to add another language for translating that parts and also the urls, the tricky part for me is now i need to have the language prefix on the url for that translated language. So I need to wrap the whole app with [locale] folder, but now I have prefixes for both. How to handle it dynamically?

grand basaltBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

gleaming kestrel
lusty ibex
gleaming kestrel
#

One example for that is googles documentation:

lusty ibex
gleaming kestrel
gleaming kestrel
#

@lusty ibex solved?