Any locale besides localeEn is returning Undefined

I installed the 5.18.3 using the --no-npm in React, selected the languages i wish to export. However, when I log:

console.log(’>>localePt’, localePtBR);
console.log(’>>localeEs’, localeEs);
console.log(’>>locale’, locale);

localePt and localeEs returns empty. The locale returns only an en object.

I inspected the mobiscroll.react.min.js and it DOES actually have the ES and Pt translations. But it is not being accessed by react.

Please someone help.

Hi @Matheus_Silva :wave:

As we discussed in the other thread:

You have to import the language modules, have you done that? You can find a working example here: React Event calendar Mobile month view Example | Mobiscroll.