TinyMCE country specific translations stopped working in 6.1.1

Hi everyone!

I just upgraded a bunch o sites to 6.1.1 realized that country specific translations for tinymce are not loading.

To confirm I started a clean plone 6.1.1 container:

docker run --rm -p 8080:8080 plone/plone-backend:6.1.1 start

I get the following error when adding a page:

++webresource++fb6bacd1-6e74-5dbd-9a1c-cd24242efc19/++plone++static/bundle-plone/chunks/langs/pt-br.js net::ERR_ABORTED 404 (Not Found)

The same is not true for 6.1.0

docker run --rm -p 8080:8080 plone/plone-backend:6.1.0 start

I also tried in https://classic.demo.plone.org/ adding some other languages like pt-br and fr-fr. Same problem.

I see that mockup tinymce integration already handles country specific languages

Can anyone confirm this?

Yes, i can confirm this. The line self.options.tiny.language = lang; should also used in the try clause. I will fix it in mockup.

Thanks @1letter !