Skip to content

Spanish Support#609

Merged
lbedner merged 1 commit intomainfrom
spanish
Apr 3, 2026
Merged

Spanish Support#609
lbedner merged 1 commit intomainfrom
spanish

Conversation

@lbedner
Copy link
Copy Markdown
Owner

@lbedner lbedner commented Apr 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 3, 2026 20:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Spanish (es) language support to Aegis Stack CLI i18n and the generated project template i18n, including locale normalization, registry loading, and full message catalogs.

Changes:

  • Add Spanish locale catalogs (es.py) for both the Aegis CLI and the generated project template.
  • Register/load es in the i18n registries and add it to AVAILABLE_LOCALES.
  • Extend i18n tests to cover Spanish locale normalization and key parity with English.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/core/test_i18n.py Adds Spanish normalization tests and validates Spanish message keys + non-empty values.
aegis/i18n/registry.py Loads Spanish messages when locale == "es".
aegis/i18n/locales/init.py Adds es to AVAILABLE_LOCALES.
aegis/i18n/locales/es.py New Spanish message catalog for the Aegis CLI.
aegis/main.py Updates --lang help text to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/registry.py.jinja Ensures generated projects can lazy-load Spanish messages.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/init.py Adds es to generated project AVAILABLE_LOCALES.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/es.py New Spanish message catalog for generated projects.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/en.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/de.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/fr.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/ja.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/ko.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/ru.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/zh.py Updates language list string to include es.
aegis/templates/copier-aegis-project/{{ project_slug }}/app/i18n/locales/zh_hant.py Updates language list string to include es.

Comment thread tests/core/test_i18n.py
@lbedner lbedner merged commit 197ea71 into main Apr 3, 2026
7 checks passed
@lbedner lbedner deleted the spanish branch April 3, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants