Repository navigation
Add Ukrainian translation for pgAdmin 4 - #10932
Conversation
|
No actionable comments were generated in the recent review. WalkthroughThe language configuration adds Ukrainian. A Ukrainian translation catalog is added for pgAdmin messages, including UI labels, help text, and error messages. ChangesUkrainian locale support
Estimated code review effort: 2 (Simple) | ~15 minutes Change: Feature Possibly related issues
Suggested reviewers: Merge Risk:
|
dpage
left a comment
There was a problem hiding this comment.
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 compilereports 3946 of 3946 messages translated, with no errors, and the committedmessages.momatches a fresh compile of the.poapart from the header that Babel rewrites.- Running the same
msg-extract,msg-updateandmsg-compilesteps 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-Formsheader is the correct three-form rule for Ukrainian, and Babel loads the catalogue and returns translations foruk. web/config.pypassespycodestyle, 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 bymsg-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.
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