Can I change locale code?

I have dato cms site with Nuxt js. The site uses several languages. For example, Japanese with the code “ja”. Can I change the code to “jp” while preserving the content?

Hello @greeb.spb

Although you can setup custom locales, you cant change the lable of an existing locales currently, so the only way to do this for now is to create a custom locale, and transfer programatically the content from one locale to another. I’ll keep the feature request up so we can consider adding this as a feature in the future

1 Like

Thanks for answer. And how can I create the custom locale?

@greeb.spb as such: Usability improvements - DatoCMS

But be aware that they must be a 4 letter custom locale!

1 Like