खुला हुआ बंद किया हुआ

Adding resources from memory dictionary to LocalizationResourceDictionary #5800


User avatar
0
mariovh बनाया था
  • 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 उत्तर (ओं)
  • User Avatar
    0
    maliming बनाया था
    सहायता दल 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 बनाया था

    Hi,

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

    Thanks

  • User Avatar
    0
    maliming बनाया था
    सहायता दल Fullstack Developer

    hi

    ExternalLocalizationResourceContributor

Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11