Replies: 1 comment
-
I think you're looking for this: https://next-intl-docs.vercel.app/docs/routing#locale-prefix-custom |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My client is requesting having a locale called
en-int
that represent "all the other countries".I was able to configure next-intl like so :
Which works good until I need to format messages.
t('readtime.minutes', { count: readTime.minutes })
orI get the error message
IntlError: INVALID_MESSAGE: Incorrect locale information provided
It's important to note that I am relying on the locale
en-int
to do my API calls to my CMS.Thank you in advance !
Beta Was this translation helpful? Give feedback.
All reactions