- ABP Framework version: v7.2.2
- UI Type:Blazor Server
- Database System: EF Core (PostgreSQL)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
- Exception message and full stack trace:
- Steps to reproduce the issue: I have an abp blazor module project and I want to obtain localized resource text in JavaScript, but I cannot obtain it without it. It can be obtained normally on Razor pages. Localized resource files are defined in the Domain In the Shared project: I introduced resource files in DomainSharedModule.cs: The front-end has introduced the following scripts: But the client did not find the localized resource text I defined: And I found that all the tests in the resource files are empty:
4 Answer(s)
-
0
Hello ,
Can you please check this document https://abp.io/docs/latest/framework/fundamentals/localization?_redirected=B8ABF606AA1BDF5C629883DF1061649A#localization
Thank you,
-
0
My Domain.Shared project followed this tutorial to introduce resource files and tried it out in the Blazor project without any problems, but my Javascript files were added to Blazor.Server.Host in the wwwroot folder.Do I need to create the same Resorse resource class again in the Blazor.ServerHost project before JavaScript can use it. But he listed all the Resource files that I defined in the Domain.Shared project, only the content in the text is empty:
-
0
Hello ,
Can you please check this document https://abp.io/docs/latest/framework/fundamentals/localization?_redirected=B8ABF606AA1BDF5C629883DF1061649A#localization
Thank you,
Hello, Is there anything else I haven't configured, or how can I troubleshoot the issue.
-
0
hi
Can you share a project to reproduce?
liming.ma@volosoft.com
Thanks