Repository navigation
UI: Fix preventRunningTasks showing as raw i18n key in Clear Task dialogs - #71045
Merged
bbovenzi merged 4 commits intoAug 6, 2026
Merged
Conversation
krystianpl26
requested review from
bbovenzi,
choo121600,
guan404ming,
pierrejeambrun,
potiuk,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
August 4, 2026 02:04
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
added 2 commits
August 3, 2026 21:47
The Italian and Thai locale files were missing the runAndTaskActions.options.preventRunningTasks key that was added to the English locale, so users on those locales saw the raw translation key instead of localized text in the clear task dialogs.
The i18n loadPath is cache-busted with the running Airflow version, but on a failed VersionService.getVersion() call it silently fell back to an un-versioned request. Behind a caching CDN or browser cache (e.g. a managed deployment like Astronomer), that can serve a translation bundle cached from before a key was added, so newer keys render as raw i18n keys (see #71007) while older, already-cached keys translate fine. Fall back to a timestamp instead so the cache is always busted.
krystianpl26
force-pushed
the
claude/airflow-issue-71007-ndqsk5
branch
from
August 4, 2026 02:47
f3801ea to
ea72bd6
Compare
bbovenzi
reviewed
Aug 4, 2026
bbovenzi
approved these changes
Aug 4, 2026
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
Contributor
Backport successfully created: v3-3-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
bbovenzi
added a commit
that referenced
this pull request
Aug 6, 2026
…ear Task dialogs (#71045) (#71240) * UI: Add missing preventRunningTasks translation for Italian and Thai The Italian and Thai locale files were missing the runAndTaskActions.options.preventRunningTasks key that was added to the English locale, so users on those locales saw the raw translation key instead of localized text in the clear task dialogs. * UI: Bust the translation cache when the version lookup fails The i18n loadPath is cache-busted with the running Airflow version, but on a failed VersionService.getVersion() call it silently fell back to an un-versioned request. Behind a caching CDN or browser cache (e.g. a managed deployment like Astronomer), that can serve a translation bundle cached from before a key was added, so newer keys render as raw i18n keys (see #71007) while older, already-cached keys translate fine. Fall back to a timestamp instead so the cache is always busted. * Apply suggestion from @bbovenzi --------- (cherry picked from commit 3dd1370) Co-authored-by: krystianpl26 <[email protected]> Co-authored-by: krystianpl26 <[email protected]> Co-authored-by: Brent Bovenzi <[email protected]> Co-authored-by: Brent Bovenzi <[email protected]>
potiuk
pushed a commit
to jason810496/airflow
that referenced
this pull request
Aug 13, 2026
…ear Task dialogs (apache#71045) (apache#71240) * UI: Add missing preventRunningTasks translation for Italian and Thai The Italian and Thai locale files were missing the runAndTaskActions.options.preventRunningTasks key that was added to the English locale, so users on those locales saw the raw translation key instead of localized text in the clear task dialogs. * UI: Bust the translation cache when the version lookup fails The i18n loadPath is cache-busted with the running Airflow version, but on a failed VersionService.getVersion() call it silently fell back to an un-versioned request. Behind a caching CDN or browser cache (e.g. a managed deployment like Astronomer), that can serve a translation bundle cached from before a key was added, so newer keys render as raw i18n keys (see apache#71007) while older, already-cached keys translate fine. Fall back to a timestamp instead so the cache is always busted. * Apply suggestion from @bbovenzi --------- (cherry picked from commit 3dd1370) Co-authored-by: krystianpl26 <[email protected]> Co-authored-by: krystianpl26 <[email protected]> Co-authored-by: Brent Bovenzi <[email protected]> Co-authored-by: Brent Bovenzi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users on some non-English locales (Italian, Thai) saw the raw i18n key
runAndTaskActions.options.preventRunningTasksinstead of translated textin the Clear Task Instance / Bulk Clear dialogs, because those two locale
files were missing the key entirely.
Separately, an English-locale user reported the same raw-key symptom while
every other label in the same dialog rendered correctly translated. That
pointed at a second, more subtle bug:
i18n/config.tscache-busts thetranslation loadPath with the running Airflow version, but silently fell
back to an un-versioned request whenever the version lookup failed. Behind
a caching CDN or browser cache (e.g. a managed deployment like Astronomer),
that can serve a translation bundle cached from before a key was added —
explaining why older keys translate fine while a newer one doesn't. The
fallback now uses a timestamp so the cache is always busted.
closes: #71007
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code following the guidelines