- ABP Framework version: v*.. ~v7.2.2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace: tons like such error message in log file : Could not find the localization resource LeptonX on the remote server!
- ** remove or rename a key of localization file, when loading a page what a key was used in this page, logs file will be burst........ can we use a phrase(like: NotFound) placeholder on the UI to replace logs written. sorry for my poor english, I used my native language descried below:
我的问题:
在多语言环境中,如果在本地化语言文件找不到UI上要显示的键值对,框架会不停的写上面的警告日志(Could not find the localization resource LeptonX on the remote server! ),导致CPU都在写日志,程序根本跑不动,框架是不是可以遇到这种时,用一个固定的提示消息直接显示在UI上,这样处理比直接写日志查错容易得多。 因为本地化文件有框架生成的,有手工写的,页面多且经过多次修改后,根本找不到到底是哪个标签的本地化文本有问题。