Open Closed

Publishing an abp app to Linux doesn't show localization. #8413


User avatar
0
thomasbr created

When publishing to a windows machine I can use "Web publish" and everything works.

When publishing to Linux we have to use "Publish as zip" and site works great, except for localization, no error no nothing, it just uses the key word and not the translations.

So L["CreateNew"] just shows "CreateNew" while it should show "Create New".

I am thinking that the language json files are somehow not published but it's hard to debug it as I need to publish for every change I do so I wanted to check if there's a know issue here.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I think this is related to the virtual file system.

    Can you share a simple test project?

    liming.ma@volosoft.com

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Fixed.

    Was missing: <PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="9.0.0" /> In the domain shared project.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13