Open Closed

Missing localization in Angular interface cannot find Module './ar-OM.js' #318


User avatar
0
humood1990 created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0.3
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace: Error: Cannot find module './ar-OM.js' at .*.js$ include: (af|ar|am|ar-SA|as|az-Latn|be|bg|bn-BD|bn-IN|bs|ca|ca-ES-VALENCIA|cs|cy|da|de|de|el|en-GB|en|es|en|es-US|es-MX|et|eu|fa|fi|en|fr|fr|fr-CA|ga|gd|gl|gu|ha|he|hi|hr|hu|hy|id|ig|is|it|it|ja|ka|kk|km|kn|ko|kok|en|en|lb|lt|lv|en|mk|ml|mn|mr|ms|mt|nb|ne|nl|nl-BE|nn|en|or|pa|pa-Arab|pl|en|pt|pt-PT|en|en|ro|ru|rw|pa-Arab|si|sk|sl|sq|sr-Cyrl-BA|sr-Cyrl|sr-Latn|sv|sw|ta|te|tg|th|ti|tk|tn|tr|tt|ug|uk|ur|uz-Latn|vi|wo|xh|yo|zh-Hans|zh-Hant|zu).js$ namespace object:1410 at ZoneDelegate.invoke (zone-evergreen.js:364) at Object.onInvoke (core.js:27149) at ZoneDelegate.invoke (zone-evergreen.js:363) at Zone.run (zone-evergreen.js:123) at zone-evergreen.js:857 at ZoneDelegate.invokeTask (zone-evergreen.js:399) at Object.onInvokeTask (core.js:27137) at ZoneDelegate.invokeTask (zone-evergreen.js:398) at Zone.runTask (zone-evergreen.js:167) defaultErrorLogger @ core.js:4081

hi Abp team

adding ar-OM using Language Management module it works fine but when i try to login with selected language ar-OM it throw this exception

  • Steps to reproduce the issue:

1- login with English language 2- add ar-OM using language Managment Module 3- logout 4- loggin with ar-OM as selected language 5- it will throw the above exception

Thank you in advance :)


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @mehmet.erim

    Maybe we can resolve this by using language file map feature. https://github.com/abpframework/abp/issues/4150#issuecomment-640983880 https://github.com/abpframework/abp/pull/4360

  • User Avatar
    0
    Mehmet created

    Hi @humood1990

    The problem will be resolved in v3.0.5. Here is the raised PR: https://github.com/abpframework/abp/pull/4868

    Thanks for reporting, your one question credit will be refunded.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13