feat: add Ukrainian language support for backend and web UI#6109
Merged
Conversation
Contributor
|
Thanks for your first pull request! 🎉 A maintainer will review it soon. While you wait, please make sure:
We aim to provide initial feedback within 7 days. See CONTRIBUTING.md for details. |
houko
enabled auto-merge (squash)
June 14, 2026 23:21
The uk.json dashboard and static locale files contain API-key UI labels and placeholders (e.g. "OPENAI_API_KEY", "sk-...") that the Secret Keyword plugin flags, mirroring the existing en/zh/ja false positives already in the baseline. Refresh the baseline so the detect-secrets scan passes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Summary
This PR introduces complete Ukrainian (
uk) language support across the LibreFang system:errors.ftl) for all ~300 keys, registered ini18n.rsand mapped inuk.toml.i18n.ts./locales/uk.jsonwith rate limit exemptions and integration tests.README.uk.mdand registered it in the i18n index.Changes
librefang-typesukinSUPPORTED_LANGUAGES, includedUK_FTLviainclude_str!, and addedukrainian_translationunit test.librefang-api& React Dashboarduktranslations resource in Reacti18next.locale_uk./locales/uk.jsonroute./locales/uk.json./locales/uk.json.Documentation
README.uk.mdfile in structure and added example.Attribution
Co-authored-by, commit preservation, or explicit credit in the PR body)Testing
Verified using scoped tests and compiler checks:
Scoped backend error tests:
cargo test -p librefang-types --lib i18n(23 passed)Scoped API integration tests:
cargo test -p librefang-api --test api_integration_test(80 passed)Workspace check:
cargo check --workspace --lib(clean build)Workspace clippy:
cargo clippy --workspace --all-targets -- -D warnings(zero warnings)cargo clippy --workspace --all-targets -- -D warningspassescargo test --workspacepasses (all modified/scoped tests pass)Live integration tested (if applicable)
Security