Uh oh!
There was an error while loading. Please reload this page.
Implement simpler and faster freeze check for translations - #55154
Conversation
potiuk
commented
Sep 1, 2025
potiuk
commented
Sep 1, 2025
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bb1cd5d to
b25c05fComparepotiuk
commented
Sep 4, 2025
Also just to illustrate my point: I rebased my change on top of main and fixed the remaining TODO. And you can already see how brittle the "_freeze_exemptions" is and how it blocks things from being fixed. there were three things added to _freeze_exemptions: "hitl": {
"requiredActionCount_one": "Required Action ({{count}})",
"requiredActionCount_other": "Required Actions ({{count}})",
"state": {
"noResponseReceived": "No Response Received"
}
},But if you look closer, So as translator I basically ENOCARE whether I am workign towards a moving target or not - what I care about is that when I run the translation tool, I translate everything missing. Also I think freeze_exemptions adds quite some complexity. We simply - for example - do not need the "hitl:" prefix - we referred in a few places with the the BTW. I also found one missing "dags:" prefix and unused "common" in useTranslations. |
shahar1
commented
Sep 5, 2025
Adding these terms should have triggered the pre-commit and fail the PR that added them - it didn't happened since the specific PR that added these terms was merged without rebasing from * - We will have to ask avoiding removal of existing keys during this freeze, because then it could change the calculation...but I think it's the least worst. WDYT? |
b25c05f to
7e11d13Comparepotiuk
commented
Sep 6, 2025
Small update to translation being done during freeze time. After I merge this one (agreed with @shahar1) -> we are going to allow merging english new translations during freeze, but:
This should let us all know quickly when new translation is added, and give us more time, also fiddling with the _freeze_exemptions.json is removed - it's not been quite clear how to deal with it. I tried to add every person from the translator's list to the #i18n but I failed to match some of the github names to the slack users - so please take a look at slack and add yourself to the #i18n channel if you are not there.
|
potiuk
commented
Sep 6, 2025
Yeah - it was becaue some languages already had I removed those and merged-in translations from those `_freeze_exempltions.json" that needed to be merged. |
This is follow-up after apache#55119 - implements the translation freeze quite a bit simpler and faster: * uses selective checks (fail fast) * does not check the dates (we will set the flag to False when freeze time passes * you can bypass the freeze with a label rather than having to commit exemption file
7e11d13 to
7c32b28CompareAlso @shahar1 -> as part of this PR i updated (and reformatted to fit 110 characters per line) README.md for i18n with referencese and description of:
Once we merge it, I will also drop a note on devlist. |
potiuk
commented
Sep 6, 2025
Known failure - being fixed in main, |
Uh oh!
There was an error while loading. Please reload this page.
Backport failed to create: v3-0-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker 8d7cc72 v3-0-testThis should apply the commit to the v3-0-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
potiuk
commented
Sep 6, 2025
no backport |
When we run with "translation-changing" commit in a canary run, we should not fail the build as the change has already been deliberately merged (likely with "allow translation changes" label). Follow-up after apache#55154
When we run with "translation-changing" commit in a canary run, we should not fail the build as the change has already been deliberately merged (likely with "allow translation changes" label). Follow-up after #55154
) This is follow-up after apache#55119 - implements the translation freeze quite a bit simpler and faster: * uses selective checks (fail fast) * does not check the dates (we will set the flag to False when freeze time passes * you can bypass the freeze with a label rather than having to commit exemption file
…he#55325) When we run with "translation-changing" commit in a canary run, we should not fail the build as the change has already been deliberately merged (likely with "allow translation changes" label). Follow-up after apache#55154
) This is follow-up after apache#55119 - implements the translation freeze quite a bit simpler and faster: * uses selective checks (fail fast) * does not check the dates (we will set the flag to False when freeze time passes * you can bypass the freeze with a label rather than having to commit exemption file
…he#55325) When we run with "translation-changing" commit in a canary run, we should not fail the build as the change has already been deliberately merged (likely with "allow translation changes" label). Follow-up after apache#55154


This is follow-up after #55119 - implements the translation freeze quite a bit simpler and faster:
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.