Skip to content

Fix localized asset resolution for region codes#34

Merged
bitomule merged 1 commit into
mainfrom
feature/localized-assets-region-codes
May 18, 2026
Merged

Fix localized asset resolution for region codes#34
bitomule merged 1 commit into
mainfrom
feature/localized-assets-region-codes

Conversation

@bitomule
Copy link
Copy Markdown
Owner

Summary

  • Resolve explicit localized asset maps using language-only fallbacks such as es-ES -> es
  • Allow BCP-47 style keys like en-US in localized asset maps
  • Support nested localized asset layouts like screenshots/{lang}/iphone/01.png

Fixes #33

Tests

  • .venv/bin/pytest tests/test_generator.py tests/test_config.py tests/test_localized_assets.py tests/test_html_renderer.py -q
  • .venv/bin/pytest tests/ -q

@bitomule bitomule self-assigned this May 18, 2026
@bitomule bitomule merged commit 9c7751b into main May 18, 2026
7 checks passed
@bitomule bitomule deleted the feature/localized-assets-region-codes branch May 18, 2026 13:40
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.

Does not pick Localized Assets images

1 participant