Open Closed

Add Telerik resx files to Abp Blazor wasm #6456


User avatar
0
jhsanc created
  • ABP Framework version: v7.4.1
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Serve)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I need add telerik blazor resx files in spanish for localization of Telerik blazor controls. I read this answare https://support.abp.io/QA/Questions/2414/Localization-with-json-or-resx But I don't wants add this method: CreateDictionaryFromFileContent because I don't need use this translations in whole app it's only for telerik controls and this file it's changing each update of Telerik. How I can do this easily adding resx files directly to abp project?. Or referering telerik localization file directly to project?

Thank you,

Johan


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

    hi

    You can add your custom class that inherits from ILocalizationResourceContributor

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationResourceContributor.cs#L7

  • User Avatar
    0
    jhsanc created

    Hi, Thank you for the answare. Sorry but I need more details, I need add .resx file to localization. But this is only for Telerik Controls. Abp controls with blazorise must continue using the json files. But Telerik controls read automatically the resx files, then I only need can read this files to abp project to finally get the translations of messages. Then I need more details. How I can do to add this files to abp blazor app without create a Dictionary.

    Thank you,

    Johan

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi jhsanc

    Can you prepare a simple project? Then I will check it.

    liming.ma@volosoft.com

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38