Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Ar-Eg locate issue #5929


User avatar
0
agebmustafa created

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)
  • User Avatar
    0
    maliming created
    Support Team

    What is the specific issue?

  • User Avatar
    0
    agebmustafa created

    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)

  • User Avatar
    0
    agebmustafa created

    I don't need Hijri Date so change "ar" to "ar-eg" . With previous version was working good but now no.

  • User Avatar
    0
    agebmustafa created

    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

  • User Avatar
    1
    ismcagdas created
    Support Team

    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.