Skip to content

Add Ukrainian translation for pgAdmin 4 - #10932

Merged
dpage merged 1 commit into
pgadmin-org:masterfrom
bigvovan:add-ukrainian-translation
Dec 3, 2026
Merged

dpage merged 1 commit into
pgadmin-org:masterfrom
bigvovan:add-ukrainian-translation

Conversation

@bigvovan

@bigvovan bigvovan commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds a Ukrainian translation for pgAdmin 4 and makes Ukrainian available in the language selector.

The translation is based on pgAdmin 4 v9.19 and includes both the editable messages.po file and the compiled messages.mo file.

Summary by CodeRabbit

  • New Features
    • Added Ukrainian as a language option in pgAdmin 4.
    • Ukrainian translations are now available across the interface, including authentication, database objects, tools, preferences, dashboards, and cloud provider screens.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The language configuration adds Ukrainian. A Ukrainian translation catalog is added for pgAdmin messages, including UI labels, help text, and error messages.

Changes

Ukrainian locale support

Layer / File(s) Summary
Register and populate Ukrainian locale
web/config.py, web/pgadmin/translations/uk/LC_MESSAGES/messages.po
LANGUAGES adds Ukrainian. The new catalog contains Ukrainian translations for pgAdmin messages and retains source placeholders and formatting markers.

Estimated code review effort: 2 (Simple) | ~15 minutes

Change: Feature

Possibly related issues

  • Issue 10927 requests a Ukrainian translation and language-menu entry. This change adds the Ukrainian catalog and registers Ukrainian in LANGUAGES.

Suggested reviewers: akshay-joshi, dpage

Merge Risk: Minimal · up to f6712

This adds Ukrainian as a selectable language and ships its translation catalog. No concrete functional, security or data risk was found, so it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Add Ukrainian translation for pgAdmin 4" matches the main change. The PR adds a Ukrainian messages.po catalog and makes Ukrainian available in the language selector through the LANGUAGES en…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Add Ukrainian translation for pgAdmin 4" matches the main change. The PR adds a Ukrainian messages.po catalog and makes Ukrainian available in the language selector through the LANGUAGES entry in web/config.py. The title is specific and concise, and it does not describe anything absent from the changeset.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 364b4ae and f671273.

Files selected for processing: 3

  • web/config.py
  • web/pgadmin/translations/uk/LC_MESSAGES/messages.mo
  • web/pgadmin/translations/uk/LC_MESSAGES/messages.po

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@dpage dpage left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for this, it's a substantial piece of work. The PR adds a Ukrainian catalogue and registers uk in LANGUAGES, which is exactly how previous languages (Brazilian Portuguese, Traditional Chinese) were added, and the catalogue is complete and compiles cleanly. I have nothing that needs changing before merge.

What I checked:

  • pybabel compile reports 3946 of 3946 messages translated, with no errors, and the committed messages.mo matches a fresh compile of the .po apart from the header that Babel rewrites.
  • Running the same msg-extract, msg-update and msg-compile steps as the 'Check translations' workflow succeeds; against a freshly extracted template the catalogue comes out at 3918 of 3938 (99%).
  • Placeholders (%s, %(name)s, {0}, ${...}) and HTML tags match the source strings in every entry, so nothing should break at runtime when a string is formatted.
  • The Plural-Forms header is the correct three-form rule for Ukrainian, and Babel loads the catalogue and returns translations for uk.
  • web/config.py passes pycodestyle, and Ukrainian sits in the right place in the alphabetically ordered language list.

I can't judge the quality of the Ukrainian in any depth. A random sample read as natural, idiomatic UI text rather than raw machine translation, with no Russian-only letters, no mixed Latin and Cyrillic words, and SQL keywords and technical identifiers sensibly left in English.

ℹ️ Notes

  • The catalogue was built from source that is newer than the committed web/pgadmin/messages.pot (dated 25-10-2026), so it already carries 94 translations for strings added since the 9.19 catalogue refresh. That is helpful rather than a problem: they will be picked up properly when the template is next regenerated, and the 28 entries that have since been removed from the source will simply be marked obsolete by msg-update.
  • None of the CI workflows have run yet because they are waiting for maintainer approval as this is a first-time contribution, which is why the PR shows as unstable. They will need approving and passing before this is merged.
  • The description doesn't reference #10927; no need to change it, as it will be linked when this is merged.

@dpage
dpage merged commit a182ec9 into pgadmin-org:master Dec 3, 2026
8 of 33 checks passed
@bigvovan
bigvovan deleted the add-ukrainian-translation branch December 3, 2026 13:14
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