Base solution for your next web application
Open Closed

Localization not working after project upgrade. #3315


User avatar
0
codenewa created

Hello,

We had the Asp.NET Core + Angular 2 version of the the boilerplate with the .xproj structure. We update the solution to VS2017 which used the csproj structure. We also upgraded from Angular 2 to Angular 4.

But now, the localized strings from the Project.Core\Localization*.xml are not working.

I saw a suggestion in one of the older posts to make sure that the xml files are embedded resources. I've verified that as well.

Currently, the Abp assemblies are at version 2.0.2.

Please help.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you compare your version of "*LocalizationConfigurer" with this one <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Localization/AbpZeroTemplateLocalizationConfigurer.cs">https://github.com/aspnetzero/aspnet-ze ... figurer.cs</a>.

    Probably you need to change root namespace parameter, it should not contain "Core".

    Thanks.

  • User Avatar
    0
    codenewa created

    Yup! That was the issue. Thank you.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :)