Skip to content

Add initial Ukrainian localization - #325

Open
GartixUA wants to merge 3 commits into
Homebrew:mainfrom
GartixUA:uk-localization
Open

GartixUA wants to merge 3 commits into
Homebrew:mainfrom
GartixUA:uk-localization

Conversation

@GartixUA

Copy link
Copy Markdown

What and why

Adds initial Ukrainian (uk) localization to BrewUI by translating the primary strings in Localizable.xcstrings and registering Ukrainian in the project configuration. This makes the application accessible to Ukrainian-speaking macOS users.

Validation

  • Built and ran the app in Xcode on macOS (Apple Silicon M2 Pro) with the Ukrainian system/app language enabled.

  • Verified that translated interface labels render properly without truncation or layout issues in both light and dark appearances.

  • I followed the conventions and workflow, checked for duplicate PRs and kept this change focused.

  • I added regression coverage for bug fixes or explained why automated coverage is impractical, and reported the relevant validation above.

Screenshots

Before After
English UI (unchanged)
Знімок екрана 2026-11-19 о 17 11 19 |

AI assistance

  • AI was used to generate or assist with generating this PR.

Used Gemini AI to help clarify English terms and context for accurate translation into Ukrainian, and to assist with formatting this PR description. All final translations, Xcode build checks, and manual UI verification on macOS were performed directly by me.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • New Features
    • Added Ukrainian, Korean, Swedish, Simplified Chinese and Traditional Chinese translations for app labels, subtitles, alerts, help items and upgrade messages. Brewfile-saving messages are now translated into Korean, Swedish and Ukrainian.
  • Improvements
    • Added Korean, Swedish and Ukrainian translations for the upgrade subtitle. Ukrainian is available for the installed-packages subtitle; Spanish, Korean, Swedish, Simplified Chinese and Traditional Chinese versions of that subtitle are marked for review.

The Xcode project adds a framework dependency, askpass-helper build validation, and helper code-signing settings. The project and string catalogue add localisation data, including translations and updated review states.

Changes: Build integration

Layer / File(s) Summary
Framework package dependency
Homebrew.xcodeproj/project.pbxproj
The project adds BrewFeatureServices to the framework build files and package-product dependencies.
Askpass packaging validation
Homebrew.xcodeproj/project.pbxproj
The app build phase checks that the askpass helper exists and is executable, verifies its signature when code signing is enabled, and runs --validate-packaging.
Helper code-signing settings
Homebrew.xcodeproj/project.pbxproj
The upgrade-helper Debug and Release configurations and askpass-helper Debug configuration set the macOS code-signing identity to -.

Localisation catalogue

Layer / File(s) Summary
String catalogue translations and metadata
Homebrew.xcodeproj/project.pbxproj, Homebrew/Localizable.xcstrings
The project adds Ukrainian to its known regions. The catalogue adds Korean, Swedish, Ukrainian, Simplified Chinese, and Traditional Chinese translations, updates translation review states, and repositions the Save Brewfile… entry.
Merge Risk: Minimal · up to e14ec

This adds Ukrainian and other translations and registers the Ukrainian region, along with build-configuration updates. No concrete merge-blocking problems were identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Add initial Ukrainian localization" matches the main change. The changeset adds Ukrainian (uk) to the project's known regions and adds Ukrainian translations to Localizable.xcstrings, along…
Description check Passed The description states that the PR adds initial Ukrainian localisation by translating primary strings in Localizable.xcstrings and registering Ukrainian in the project configuration. This matches the …
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 initial Ukrainian localization" matches the main change. The changeset adds Ukrainian (uk) to the project's known regions and adds Ukrainian translations to Localizable.xcstrings, along with Korean, Swedish, and Chinese strings. The title covers the primary point, though the diff also includes project build-phase and signing changes it does not mention.

Full details: Description check

Explanation

The description states that the PR adds initial Ukrainian localisation by translating primary strings in Localizable.xcstrings and registering Ukrainian in the project configuration. This matches the changeset. It also describes validation steps and includes a screenshot, so it is related to the changes.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Homebrew/BrewUI
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: a956154
  • Layers: Repository TS config (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9076bc9f-ff69-446f-81a0-71bf1f1e95cb
Commits

Reviewing files that changed from the base of the PR and between 8e8cd4f and e14ecc2.

Files selected for processing: 1

  • Homebrew/Localizable.xcstrings
Files with no reviewable changes: 1

  • Homebrew/Localizable.xcstrings

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review info

Run configuration

  • Source mode: Auto
  • Repository: Homebrew/BrewUI
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: a956154
  • Layers: Repository TS config (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c261b54e-67e7-454a-8f00-7c6184ba3ad2
Commits

Reviewing files that changed from the base of the PR and between a956154 and cd24655.

Files selected for processing: 2

  • Homebrew.xcodeproj/project.pbxproj
  • Homebrew/Localizable.xcstrings

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

Comment thread Homebrew/Localizable.xcstrings Resolved
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