Hello
I am trying to localize the DocumentEditor to pt-BR but it does not work. If I try to localize to "de" it DOES work
seems that any language that has the "-" in the name does not work, I tried "ar-AE" and it does not work either.
Here is my code
import './App.css'
import React from 'react';
// import * as EJ2_LOCALE from "../node_modules/@syncfusion/ej2-locale/src/pt-BR.json";
import * as EJ2_LOCALE from "../node_modules/@syncfusion/ej2-locale/src/ar-AE.json";
import { L10n, setCulture } from '@syncfusion/ej2-base';
import {
DocumentEditorContainerComponent,
Toolbar,
Inject,
} from '@syncfusion/ej2-react-documenteditor';
L10n.load({ 'ar-AE': EJ2_LOCALE['ar-AE'] });
setCulture("ar-AE");
function App() {
return (
<div className='App'>
<DocumentEditorContainerComponent height='640px'
locale={'ar-AE'}>
<Inject services={[Toolbar]} />
</DocumentEditorContainerComponent>
</div>
);
}
export default App
Thanks