hozana/next-translate-routes

Does this plugin support locale format en-US, es-MX, etc?

elliot619 opened this issue · 2 comments

So far I'm not able to make this plugin work in my app which has the locale configured in 5 characters as en-US, fr-CA, es-MX, etc.
Is this plugin intended with this format? Thanks

Here is my next.config.js i18n setup:

image

Here is how I have set up the _routes.json:

image

I tried with 5 characters locales, but everything worked fine.
Did you follow the how to section in the docs? If yes, could you provide a minimal reproduction of you issue?

Let me know if this issue should be reopened.