Closed tprecek closed 3 years ago
Hello,
is there any way to import i18n locales in Angular, please?
I haven't found a way yet.
import * as cronstrue from 'cronstrue'; is working only with fallback default
import * as cronstrue from 'cronstrue';
Locale 'cs' could not be found; falling back to 'en'.
Thank you for any answers. Tomas
Simple.
import cronstrue from 'cronstrue/i18n';
Hello,
is there any way to import i18n locales in Angular, please?
I haven't found a way yet.
import * as cronstrue from 'cronstrue';
is working only with fallback defaultLocale 'cs' could not be found; falling back to 'en'.
Thank you for any answers. Tomas