Open Closed

Language texts/translations #7285


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

Have an issue with translations.

We used/are using json files for translations "key:value", but there is an UI (Language texts). But the issue is that when i update something within the UI, the translation in blazor view doesent update. (Updates in Language Texts UI, but not on the web)

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

11 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    You need to refresh the Page

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rivz created

    That was the first thing i tried, also restarted host and blazor docker containers.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    This may be related to caching. what's your Redis configuration

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rivz created

    Also cleared redis cache, not sure what do you mean by redis configuration. I am running redis also in a docker container, redis:7.2.4 image.

    Can the issue be related, that i have localizations in json files, and the text module doesent read the ones in database?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I mean your Redis configuration code for each project, you need to make sure they are the same

    For example:

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rivz created

    Yes they all are the same in every project, just double checked

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    I could not reproduce the problem.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rivz created

    Interesting.

    Maybe it has something to do that i have .json files where i include my translations in code?

    Or that i am doing the UI translations from host tenant and expect them to change under every tenant? Are the LanguageText-s global or each tenant has its own?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    I'm not sure,

    How do I reproduce the problem?

    Could you share the full steps or an example project with me?

    my email is shiwei.liang@volosoft.com I will check it

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rivz created

    Okay i found out that it is tenant based? Is there a way so when i change it on host, it changes for every tenant? I had this with TenantId empty, and it didnt changed anywhere, but when i added TenantId, it changed for that tenant.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rivz created

    So this helped me.

    https://support.abp.io/QA/Questions/6636/Tenant-independent-localization-with-VoloLanguageManagement

    thanks!

    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 21, 2026, 06:18
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.