You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While searching this issue, I did find two similar examples, but they were not helpful.
I noticed that the title of my pages can not be localized. Digging deeper, I discovered that getLocalization() in the Angular LocalizationService receives NULL when accessing state.localization.defaultResourceName. It feels like this value should be set to the value configured in environment.ts under localization but even with that configured the value of state.localization.defaultResourceName is still null.
Reproduction Steps
Create a microservice template solution with Angular and Localization.
Note that, once running, the page title for angular is always "MyProjectName".
Verify that environment.localization.defaultResourceName has a value in environment.ts.
Attempt to set "AppName" in the Angular localization.
See that this has no effect as getLocalization() can not resolve a defaultSourceName and will not point to ::AppName
Expected behavior
Setting environment.localization.defaultResourceName in environment.ts should set a value for getLocalization() to use.
Actual behavior
getLocalization() receives NULL when attempting to access state.localization.defaultResourceName
Regression?
I do not know.
Known Workarounds
No response
Version
9.0.4
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
While searching this issue, I did find two similar examples, but they were not helpful.
I noticed that the title of my pages can not be localized. Digging deeper, I discovered that
getLocalization()
in the AngularLocalizationService
receives NULL when accessingstate.localization.defaultResourceName
. It feels like this value should be set to the value configured in environment.ts underlocalization
but even with that configured the value ofstate.localization.defaultResourceName
is still null.Reproduction Steps
environment.localization.defaultResourceName
has a value inenvironment.ts
.getLocalization()
can not resolve a defaultSourceName and will not point to ::AppNameExpected behavior
Setting
environment.localization.defaultResourceName
inenvironment.ts
should set a value forgetLocalization()
to use.Actual behavior
getLocalization()
receives NULL when attempting to accessstate.localization.defaultResourceName
Regression?
I do not know.
Known Workarounds
No response
Version
9.0.4
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered: