choo121600 opened a new issue, #53663:
URL: https://github.com/apache/airflow/issues/53663

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When I run:
   ```
   uv run dev/i18n/check_translations_completeness.py --language ko 
--add-missing
   ```
   the missing keys are added to json(ko) in sorted order,
   but the existing json(en) is not sorted, which leads to unnecessary changes 
in key positions.
   
   <img width="870" height="693" alt="Image" 
src="https://github.com/user-attachments/assets/063e1dfa-3513-4841-b9e0-f1d584f34354";
 />
   
   After that, when running pre-commit, the formatting is corrected again — but 
by then, the diffs are already noisy.
   
   ### What you think should happen instead?
   
   json files in en should already be correctly sorted and consistently 
formatted
   
   pre-commit hook that ensures all JSON files inside the en folder are sorted 
and consistently formatted, just like the translated locale files.
   
   ### How to reproduce
   
   * Check the JSON files inside the en folder.
   * uv run dev/i18n/check_translations_completeness.py --language ko 
--add-missing
   
   
   ### Operating System
   
   osx
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to