Starts in:
1 DAY
23 HRS
37 MIN
1 SEC
Starts in:
1 D
23 H
37 M
1 S
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 20, 2024, 13:06