Open Closed

How do you override a language texts in microservice example? #5530


User avatar
0
kirotech created
  • ABP Framework version: v7.2
  • UI Type: Angular
  • Database System: EF Core ( PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I want to override some tenant languge texts in microservices solution sample.

For example saasresource Tenants string has to be ovverriden.

If i do it according docs described here: https://docs.abp.io/en/abp/latest/Localization#extending-existing-resource it doesn't work.

Can you help and point to right solution for microservices?


4 Answer(s)
  • User Avatar
    0
    kirotech created

    any update?

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    The best way I would suggest is to use the Language Management.

    An other way is overriding the TenantResource under the SaasService. You can check this post with source codes: https://community.abp.io/posts/how-to-override-localization-strings-of-depending-modules-ba1oy03l

    Let us know if it works for you or not.

  • User Avatar
    0
    kirotech created

    OK thank you for your answer.

    I found some more Tenant texts.

    For Account/Login switch tenant screen if i get it correctly i need to override AbpUiMultiTenantResource.

    Can you tell me which project i should put override code in for this resource ovveride?

    I tried auth-server but it didn't work.

  • User Avatar
    0
    jfistelmann created

    Hey,

    if you use the Language Management you can search for strings and see the LocalizationResource they are coming from:

    Does that help?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35