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?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

4 Answer(s)
  • User Avatar
    0
    kirotech created

    any update?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.