Starts in:
1 DAY
20 HRS
47 MIN
28 SEC
Starts in:
1 D
20 H
47 M
28 S
Open Closed

Adding resources from memory dictionary to LocalizationResourceDictionary #5800


User avatar
0
mariovh created
  • ABP Framework version: v6.0.0
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hello,

In the configuration of the DomainSharedModule with AbpLocalizationOptions, I want to know if it's possible to add key-value resources from an in-memory dictionary instead of a .json file. Our organization has an API for obtaining localization resources for each application in a key-value dictionary format. Once I've made the API call and have the dictionary in memory, I want to incorporate it into the localization resources options of the application.

Is this possible? Is there a way to implement this?

Best regards, thank you.


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

    hi

    Of course, Our language management is getting localization texts from the database.

    You can download its source code to check the code.

  • User Avatar
    0
    mariovh created

    Hi,

    In wich class is implemented that logic in Abp framework? I only see AddVirtualJson to AbpLocalizationOptions Resources

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    ExternalLocalizationResourceContributor

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06