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

   **PR title:** `Add Spanish (es) translation agent skill`
   
   ## Summary
   
   Adds the Spanish (`es`) locale-specific translation guideline for the 
`airflow-translations` agent skill, following the structure of the merged 
French skill (PR #62161).
   
   Builds on the groundwork by @slegarraga in #62155. Key improvements over 
that PR based on review feedback:
   
   - Restructured to match the approved French skill format (numbered sections, 
dedicated states table, examples section)
   - Section 1 split into two explicit lists: **global Airflow terms** that are 
never translated across all locales, and a **Spanish-specific "Kept in English 
by convention"** list of terms the existing `es/*.json` files leave 
untranslated (Backfill, Pool, Executor, Heartbeat, Upstream/Downstream, etc.). 
The distinction matters because the second list reflects established Spanish 
practice and could differ in other locales.
   - `Trigger`/`Triggerer` handled as mixed usage: as a verb → `"Activar"` 
(`"Activado por"` for "Triggered by"); as a noun/component label → keep in 
English (`"Clase del Trigger"`, `"Triggerer Asignado"`). Section 1, the 
standard translations table, and the examples block all cross-reference each 
other to prevent agents from defaulting to `"disparador"`.
   - Audit Log preferred as `"Auditoría de Log"` (correct noun form), with the 
inconsistency in `common.json` flagged in the table.
   - `Filter` split into noun (`"Filtro"`) and verb (`"Filtrar"`).
   - Plural forms section clarifies Spanish uses `_one` and `_other` only; 
`_many` must always match `_other`.
   - Hotkey literals must not be translated.
   - `"Cannot X"` dialog titles require a full phrase in Spanish (e.g. `"No Se 
Puede Limpiar la Instancia de Tarea"`).
   
   closes: #61991
   related: #61984
   
   ---
   
   Validated with promptfoo evals against open-source models (gpt-oss:20b via 
Ollama): [view 
cert](https://ai-evals.io/certify-your-agent/viewer.html?cert=https://raw.githubusercontent.com/Alexhans/eval-ception/main/certs/airflow-localizer-es/airflow-es-localizer-exam-pydantic-agent.cert.json)
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Sonnet 4.6 (Claude Code)
   
   Generated-by: Claude Sonnet 4.6 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