when convert to ar-Eg locate there's an issue with previous version it was working good I've found there a new using for ngx-bootstrap\chronos\i18n Could you help me please urgent
5 Answer(s)
-
0
What is the specific issue?
-
0
core.js:12301 ERROR Error: Uncaught (in promise): Error: Cannot find module './ar-eg.js' Error: Cannot find module './ar-eg.js' at ..js$ namespace object:97 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388) at Object.onInvoke (core.js:13851) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:138) at zone.js:872 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:13842) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188) at ..js$ namespace object:97 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388) at Object.onInvoke (core.js:13851) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:138) at zone.js:872 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:13842) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
-
0
I don't need Hijri Date so change "ar" to "ar-eg" . With previous version was working good but now no.
-
0
Picker not appear Khronos locale error: please load locale "ar-eg" before using it loadLocale @ locales.js:83 chooseLocale @ locales.js:25 getLocale @ locales.js:178 push../node_modules/ngx-bootstrap/datepicker/bs-datepicker-input.directive.js.BsDatepickerInputDirective.writeValue @ bs-datepicker-input.directive.js:84 (anonymous) @ forms.js:1749 (anonymous) @ forms.js:2826
-
1
Hi @agebmustafa
ngx-bootstrap doesn't support ar-eg locale. So, you need to map it to ar in https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/assets/ngx-bootstrap/ngx-bootstrap-locale-mapping.service.ts.