potiuk commented on issue #51420: URL: https://github.com/apache/airflow/issues/51420#issuecomment-2943766112
That's tricky and I am not sure if it is needed. Modern AI tooling (agentic) will gladly synchronize and adapt translations for you if you ask it. This is why filling the TODO: in my script is such powerful - because once you generate the TODO: you can ask AI agent to translate things for you - looking at other translations present already. This is what I literally done yesterday in https://github.com/apache/airflow/pull/51417 1) I run `check_translations_completenes.py - -add-missing --language pl` 2) I ased copilot agent to translate all the remaining TODO: translate from English to Polish following the translations alraedy done I literally had to correct maybe two places. I think in this case DRY for similar terms is counter-productive, especially when you have different languages, it's likely better to have more similar examples in the files so that the AI agents can learn from it and in case you change the term, it's generally easier to ask the agent to change the term in all translation files. In many languages similar words in different context and flex forms (in Polish heavily) - depend on the context of use. For example: ``` "affectedMultiple": "Zostanie wyzwolonych {{count}} uruchomień.", "affectedOne": "Zostanie wyzwolone 1 uruchomienie.", ``` You can see that "wyzwolonych" and "wyzwolone" are different words, even if in English both are "triggered". I think any kind of DRY with references to translations stored elsewhere will only muddy the waters and make it more difficult to verify by human as well - because you will have to literally look up in the other places and put the phrases together from separate pieces to see how they look like., -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
