Conversation
There was a problem hiding this comment.
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
esin the i18n registries and add it toAVAILABLE_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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.