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
All json files are configured as Embedded resource.
it works fine with the v6 (the prod still have this version installed and there all good)
Reproduction Steps
Upgrade from 6 to 8
Have any custom strings in the json files (except ::Welcome, it localized in the AbpUi)
Publish application and frontend to IIS
Open angular app
Expected behavior
Location works as it should
Actual behavior
Debug or Release configuration executed from the VS: OK (I assumed this is because it taken files from the file system, but not sure)
Debug or Release configuration published to IIS: NOK
Symptoms:
All strings from the local json files are not loaded at all
All strings from OOB assemblies (Abp*) works as it should
Same behavior for asp-core and angular application: all custom strings are not loaded on Login page (we have few customizations there) and in entire Angular app.
Response from the api/abp/application-localization?cultureName=ru&onlyDynamics=false looks like this (only custom on the screenshot, all other are OK and have strings in the text element):
One strange thing: if all languages are enabled (options.Languages.Add removed) then Angular app doesn't load at all, without errors in the console.
Even if files are copied locally on the server (/Localization folder in the API site) it still doesn't work.
I did compare with the empty template generate withe v8 but can't find any diff.
Regression?
Yes
Known Workarounds
No
Version
8.1.1
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Tiered
Operation System
Windows (Default)
Other information
Issue reproducible regardless configuration: same under Debug or Release.
Steps to trouble shooting this issue will be much appreciated.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
I did migration from the 6 to 8 and now have weird problem with the localization.
My config:
DomainSharedModule.cs
HttpApiHostModule.cs
All json files are configured as Embedded resource.
it works fine with the v6 (the prod still have this version installed and there all good)
Reproduction Steps
Expected behavior
Location works as it should
Actual behavior
Debug or Release configuration executed from the VS: OK (I assumed this is because it taken files from the file system, but not sure)
Debug or Release configuration published to IIS: NOK
Symptoms:
Same behavior for asp-core and angular application: all custom strings are not loaded on Login page (we have few customizations there) and in entire Angular app.
Response from the api/abp/application-localization?cultureName=ru&onlyDynamics=false looks like this (only custom on the screenshot, all other are OK and have strings in the text element):
One strange thing: if all languages are enabled (options.Languages.Add removed) then Angular app doesn't load at all, without errors in the console.
Even if files are copied locally on the server (/Localization folder in the API site) it still doesn't work.
I did compare with the empty template generate withe v8 but can't find any diff.
Regression?
Yes
Known Workarounds
No
Version
8.1.1
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Tiered
Operation System
Windows (Default)
Other information
Issue reproducible regardless configuration: same under Debug or Release.
Steps to trouble shooting this issue will be much appreciated.
The text was updated successfully, but these errors were encountered: