mirror of
https://github.com/serrebidev/BlindRSS.git
synced 2026-08-13 11:59:26 -07:00
Display UI messages only after i18n system initialization #49
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
serrebi/BlindRSS#49
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, BlindRSS displays some UI messages before the
gettextinternationalization system is initialized. As a result, these messages always appear in English, even when a non‑English language is configured for the interface.This issue affects multiple UI messages in
main.pythat are rendered prior togettextinitialization, so although the strings are technically localized viagettext, they are shown in English due to the timing of the calls.A concrete example is the "BlindRSS is already running." message, which should be displayed in the active locale but currently isn’t.
Preconditions
Steps to Reproduce
Actual Behavior
"BlindRSS is already running."in English.Expected Behavior
"BlindRSS is already running."translated into the active localization language.Proposed Fix
Move the
gettextinitialization logic to occur before any UI message is displayed. This ensures all user‑facing strings are rendered using the correct locale.Fixed in v1.98.0. i18n now initializes before any UI is shown, including the single-instance "BlindRSS is already running." message, so it renders in the active locale.