Skip to content

feat(i18n): add Galician translation - #1431

Open
B1NAR10 wants to merge 1 commit into
AprilNEA:masterfrom
galician-translators:feat/galician-translation
Open

B1NAR10 wants to merge 1 commit into
AprilNEA:masterfrom
galician-translators:feat/galician-translation

Conversation

@B1NAR10

@B1NAR10 B1NAR10 commented Sep 16, 2026 •

Copy link
Copy Markdown

Summary

Add complete Galician (gl) translation catalog and wire it into the core locale negotiation, catalog parity test suite, and Crowdin configuration.

Changes

openlogi-ui

  • Add crates/openlogi-ui/locales/gl.toml with all 1034 semantic keys aligned with en.toml.
  • Include gl.toml in crates/openlogi-ui/tests/catalog_parity.rs to maintain catalog parity test coverage.

openlogi-core

  • Add ("gl", "Galego") to SUPPORTED in crates/openlogi-core/src/locale.rs.
  • Add BCP-47 locale negotiation unit tests for gl and gl-ES.

Infra / Tooling

  • Add gl to .config/crowdin.yml in export_languages and languages_mapping for automated sync.

Testing

  • Validated TOML syntax, key count (1034 translation keys + version), exact key order, and identical %{placeholder} interpolations against en.toml.
  • Verified Crowdin merge script compatibility via .github/scripts/i18n/merge_crowdin_download.py --self-test.
  • Not runtime-tested on hardware.

@B1NAR10
B1NAR10 requested a review from AprilNEA as a code owner September 16, 2026 22:41
@greptile-apps

greptile-apps Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5RetriggerView in Greptile

[Low impact] Adds Galician translation strings to the UI.

The implementation appears functionally sound, but the explicit repository documentation requirement must be satisfied before merging.

Findings

  1. P2 Galician support is undocumented ▶

Summary

Adds complete Galician localization support across locale negotiation, the UI catalog, parity coverage, and Crowdin synchronization.

  • Registers gl as a supported locale and verifies gl/gl-ES negotiation.
  • Adds the Galician translation catalog and checks it against the English catalog.
  • Configures Crowdin import/export mapping for Galician.
  • The previously reported shortcut examples are corrected.
  • User-facing documentation still needs to identify Galician as a supported interface language.

Reviews (14) · Last reviewed commit: "feat(i18n): add Galician translation" · Reviewed by Greptile

@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from 9af06a1 to c128b9f Compare October 1, 2026 12:26
@davidbudnick davidbudnick added platform: all Cross-platform issue type: feature New feature request labels Oct 9, 2026
@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from c128b9f to 07094ec Compare October 23, 2026 12:32
@B1NAR10
B1NAR10 requested a review from davidbudnick as a code owner October 23, 2026 12:32

@AprilNEA AprilNEA left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The current head looks consistent in static review, but this PR needs AprilNEA’s review before merging. Thanks for the Galician translation.

Reviewed commit: 07094ec2d01664813fe3be6cc18696e6ada63409.

  • The diff adds translation data, locale registration, parity coverage, and two locale-negotiation assertions. No suspicious executable changes were found.
  • Static TOML parsing confirms 681 keys, including _version. Key order and interpolation placeholders match the English catalog exactly.
  • The PR description still reports 516 keys; please update that count to match this head.
  • No competing Galician PR or unresolved review thread was found. Greptile passed for this head.
  • I approved the current-head CI and Build runs. Their results are still pending; no contributor code was built or tested locally.

Automatic merge is not eligible: .config/crowdin.yml and crates/openlogi-core/src/locale.rs require AprilNEA’s review, and the translation exceeds the 150-line limit.

Documentation needs an update because the language picker gains gl and the published locale list changes. Do not merge until CI and the documentation gate are complete.

@B1NAR10

B1NAR10 commented Oct 24, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master and brought the Galician catalog up to full parity with all current strings (680 keys). Clean and ready for review whenever you have a moment!

@AprilNEA AprilNEA left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The head is still 07094ec2 (pushed 2026-10-23 12:32 UTC). Master has added 38 keys since then, so catalog_parity fails in tests on all four platforms.

  • crates/openlogi-ui/locales/gl.toml: rebase onto current master and translate the 38 missing keys in en.toml order: 25 in [keyboard] (disable-keys controls, lock keys), 8 in [pointer] (press_force*), and 5 in [updates] (update channel). After the rebase, cargo test -p openlogi-ui --test catalog_parity lists every missing key.
  • PR description: replace "516 semantic keys" with the final count. Current en.toml has 718 keys plus _version.

The current head passes the other checks: no extra keys, and every placeholder matches en.toml.

@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from 07094ec to 82e4c99 Compare October 28, 2026 08:52
@B1NAR10

B1NAR10 commented Oct 28, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto current master and translated all missing keys in gl.toml (bringing it to full parity across all 726 keys in en.toml order). Also updated the key count in the PR description. Ready for review!

@AprilNEA
AprilNEA dismissed their stale review October 28, 2026 09:51

Addressed in 82e4c99: missing keys translated and description count updated.

@AprilNEA AprilNEA left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Re-reviewed 82e4c992. Both requested changes are done: gl.toml carries all 726 en.toml keys in the same order with identical placeholders, and the description count is updated. CI passes on this head.

The merge is a maintainer step, because this PR changes .config/crowdin.yml and crates/openlogi-core/.

@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from 82e4c99 to 034ef31 Compare October 31, 2026 18:27
@B1NAR10

B1NAR10 commented Oct 31, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master and translated all 47 new keys in gl.toml (keeping full parity across all 773 keys in en.toml order with identical placeholders). Also updated the key count in the PR description. Ready for merge whenever you have a moment!

@AprilNEA AprilNEA added the needs: decision Needs a maintainer/product decision label Oct 31, 2026 — with Manus Connector
@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from 034ef31 to 61fbb30 Compare November 5, 2026 06:48
@B1NAR10

B1NAR10 commented Nov 5, 2026 •

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master and brought the Galician catalog up to full parity across all 967 keys in en.toml order (including the new Flow, Audio, Momentum scrolling, and G-series keyboard profile strings, with identical placeholders). PR description updated as well. Ready for review whenever you have time!

@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch 2 times, most recently from 8b4475d to d9b1467 Compare November 8, 2026 12:22
@B1NAR10

B1NAR10 commented Nov 8, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master and brought the Galician catalog up to full parity across all 970 keys in en.toml order (including the new Easy-Switch pointing device linking strings, with identical placeholders). PR description updated as well. Ready for merge whenever you have time!

@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from d9b1467 to 8910f55 Compare November 14, 2026 16:39
@B1NAR10

B1NAR10 commented Nov 14, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master and brought the Galician catalog up to full parity across all 1018 keys in en.toml order (including the new system tray / menu-bar menu strings, macOS drag panel, and Easy-Switch channel actions, with identical placeholders). PR description updated as well. Ready for merge whenever you have a moment!

Comment thread crates/openlogi-ui/locales/gl.toml Resolved
@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from 8910f55 to b0f7ef6 Compare November 14, 2026 17:49
@B1NAR10

B1NAR10 commented Nov 14, 2026

Copy link
Copy Markdown
Author

@AprilNEA Pushed a quick follow-up (b0f7ef6) keeping the literal Shift modifier in the shortcut examples (Cmd+Shift+P and Shift+]) as flagged by Greptile, so KeyCombo parses them directly while keeping the surrounding text in Galician. All 1018 keys remain in full parity with en.toml. Ready for merge whenever you have a moment!

@davidbudnick davidbudnick added the area: gui Graphical user interface label Nov 30, 2026
@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from cffdbf5 to 74b8dfa Compare December 1, 2026 18:02
@B1NAR10

B1NAR10 commented Dec 1, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master (88a89f4) and updated gl.toml to full parity across all 1025 keys in en.toml order (adding the new thumb-wheel tap, onboard-profile, custom keyboard color, and overlay window title strings, and removing momentum_macos_only). PR description updated as well. Ready for merge whenever you have a moment!

@B1NAR10
B1NAR10 force-pushed the feat/galician-translation branch from 74b8dfa to 3c67746 Compare December 3, 2026 12:38
@B1NAR10

B1NAR10 commented Dec 3, 2026

Copy link
Copy Markdown
Author

@AprilNEA Rebased onto latest master (0cae281) and translated the 9 new [receivers] strings in gl.toml (keeping full parity across all 1034 keys in en.toml order). PR description updated as well. Ready for merge whenever you have a moment!

("en", "English"),
("es", "Español"),
("fr", "Français"),
("gl", "Galego"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Galician support is undocumented. This line exposes Galego as a supported interface language, but the user documentation and README do not identify it as supported. The repository requires user-visible feature additions to be documented in the relevant user documentation and README feature table in the same change. This requirement must be satisfied before merging.

Rule Used: Severity: medium. A user-visible behaviour change or a known limitation left by a fix (state lost on restart, a race window not covered, Ctrl-C skipping a hand-back) is stated in docs/CONFIGURATION.md, docs/USAGE.md, or docs/DECISIONS.md in the... (source)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: gui Graphical user interface needs: decision Needs a maintainer/product decision platform: all Cross-platform issue type: feature New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants