Hello,
We see error after creating and connecting all localization files.
All files we have translated and connected (including references en-En to it-It etc...)
How can we resolve this error?
Sincerely,
Vitalie
I attached localized file. Can you try to connect it on you side?
Hello Alex,
We have tried 2 different ways (from Bryntum help) to connect localization, but none of them works for us with Angular.
Alternatively... can I translate the english locale to italian (I`m very good italian speaker) and you will include it to SchedulerPro as IT locale?
I think it can be the quicker solution.
Sincerely,
Vitalie
I've edited your app.module.ts
with the next code:
// import internal locale
import BryntumRu from '@bryntum/schedulerpro/locales/schedulerpro.locale.Ru';
// import your extra locale?
import RuLocaleExamples from '../assets/locales/examples.locale.Ru.umd';
import { LocaleManager, LocaleHelper } from '@bryntum/schedulerpro/schedulerpro.lite.umd.js';
// merge 2 locales into one
const ruLocale = LocaleHelper.mergeLocales(BryntumRu, RuLocaleExamples);
// register russian locale
LocaleManager.registerLocale('Ru', { locale : ruLocale });
// set current locale to Ru
LocaleManager.locale = "Ru";
And it works now.
All the best,
Alex