Jayantparashar10 opened a new pull request, #62083:
URL: https://github.com/apache/airflow/pull/62083

   ## Description
   
   This PR creates the Portuguese (pt) translation agent skill file as part of 
the broader initiative to help AI agents produce consistent translations for 
Airflow's UI.
   
   ### Changes
   
   - Creates `.github/skills/airflow-translations/locales/pt.md` with 
comprehensive Portuguese translation guidelines
   - Adds minimal placeholder `.github/skills/airflow-translations/SKILL.md` 
for global terminology rules (to be completed in #61985)
   - Provides real-world examples extracted from existing 
`airflow-core/src/airflow/ui/public/i18n/locales/pt/*.json` files
   
   ### Content Overview
   
   The `pt.md` skill file includes:
   
   1. **Core Airflow Terminology** - Terms that must remain in English (Dag, 
Asset, Backfill, XCom, etc.)
   2. **Portuguese-Specific Guidelines** - Gender agreement, plural forms, 
capitalization, spelling conventions
   3. **Translation Examples** - Real patterns from existing JSON files showing 
correct translations
   4. **Agent Instructions** - Clear DO/DON'T rules for AI translation agents
   
   ### Testing Strategy
   
   After merge, any AI agent supporting "skills" context can:
   1. Load this file as reference material
   2. Receive new English UI strings for translation
   3. Output Portuguese translations matching existing style/conventions
   
   Example test case:
   - **Input:** `"retry_delay": "Retry delay in seconds"`
   - **Expected:** `"retry_delay": "Atraso de retentativa em segundos"`
   - **Validation:** Matches Portuguese style from existing files
   
   ### Alignment
   
   - Follows the structure established in #62059 (zh-CN skill)
   - Part of meta-issue #61984 for translation agent skills
   
   Closes: #62001
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   <!--
   If generative AI tooling has been used in the process of authoring this PR, 
please
   change below checkbox to `[X]` followed by the name of the tool, uncomment 
the "Generated-by".
   -->
   
   - [ ] Yes (please specify the tool below)
   
   <!--
   Generated-by: [Tool Name] following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   -->
   


-- 
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]

Reply via email to