Skip to content

fix: show Ukrainian language name in translation report - #3701

Open
prajakta128 wants to merge 1 commit into
OWASP:masterfrom
prajakta128:fix/translation-report-uk-label
Open

prajakta128 wants to merge 1 commit into
OWASP:masterfrom
prajakta128:fix/translation-report-uk-label

Conversation

@prajakta128

@prajakta128 prajakta128 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The translation report did not include a mapping for the uk locale. As a result, Ukrainian issues were displayed under ## uk instead of ## Ukrainian, making the report less readable.

Solution

Added the missing uk locale mapping in scripts/check_translations.py and a regression test in scripts/check_translations_utest.py to ensure Ukrainian issues appear under the correct heading.

Testing

  • Translation unit tests: 26 passed.
  • Script test suite: 601 passed.
  • Ran Black, Flake8, and mypy checks on the changed files.
  • Verified that the report generated from the actual source/ directory displays ## Ukrainian.

The report's language display-name map did not include uk, so Ukrainian sections were headed with the raw locale code. Add the missing mapping and a regression test.
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.

1 participant