Angular - Fixing theme related localization problems #19885
BackDescription
Resolves #19858 and relates https://github.com/abpframework/abp/pull/22817
Checklist
- I fully tested it as developer / designer and created unit / integration tests
- I documented it (or no need to document or I will create a separate documentation issue)
- I've assigned reviewer, related labels and set a milestone for this PR
How to test it?
- You need to switch to this branch on the abp side
issue/refactorLazyLocalizationor you can also wait for this to be merged https://github.com/abpframework/abp/pull/22817 - You can run
yarn copy-to:app-procommand to copy changes to the app-pro template - Then you can test the basic theme after switching
yarn ng g @abp/ng.schematics:change-theme --name 1 --target-project MyProjectName- Do not forget to comment out this inside
abp > templates > app-pro > angular > src > index.html
<!-- <TEMPLATE-REMOVE IF='BASIC'> --> <div id="lp-page-loader"></div> <!-- </TEMPLATE-REMOVE> --> - Do not forget to comment out this inside
- You can also test the lepton theme after changing the theme
yarn ng g @abp/ng.schematics:change-theme --name 2 --target-project MyProjectName