Skip to content

Add Russian language pack (smwbev.russian) - #13

Closed
smwbev wants to merge 21 commits into
stablyai:mainfrom
smwbev:add-smwbev-russian
Closed

smwbev wants to merge 21 commits into
stablyai:mainfrom
smwbev:add-smwbev-russian

Conversation

@smwbev

@smwbev smwbev commented Oct 11, 2026 •

Copy link
Copy Markdown

What

Adds smwbev.russian, a Russian translation of the Orca interface, as a community entry.

  • Source: https://github.com/smwbev/orca-russian, pinned to tag v5.1.177
  • Content: a manifest and one catalog, locales/ru-RU.json. capabilities: [] and no entry point, so nothing in the repository runs inside Orca; the tools/ folder holds the build and audit scripts. MIT, with the upstream English catalog credited in NOTICE.
  • Category: languages only. This is a community entry, so no official.

Three other Russian packs are already in this queue (#3, #6, #9). I am not asking you to prefer this one; pick whichever fits how you want community listings to work. What follows is what I can vouch for about this pack.

State on Orca v1.4.243

  • 15,657 of the release's strings. Of the 17,485 keys in the release's en.json, 1,828 stay English, and the README accounts for each group: 180 are the protected auto.components.settings.plugin* paths, 1,637 are keys no component reads, and 11 are identical in Russian or are fragments.
  • Nothing stale. The catalog has no key that v1.4.243 does not define.
  • Checked with the validators from the v1.4.243 tag, not from main: pluginMarketplaceSchema accepts this index with the entry added, parsePluginManifest accepts the manifest and its key equals the entry id, and parsePluginLanguagePackArtifact accepts the catalog (17,974 entries of 20,000).
  • engines.orca is >=1.4.169, the first release with the plugin-chrome allow-list. The catalog carries the 34 strings that list opened up, and the validator from v1.4.168 rejects it at the first of them. The gate turns that silent rejection into a refusal that names the version needed.

How it is kept current

  • It tracks releases, not main. For each of the last eighteen published Orca releases (v1.4.220 to v1.4.224, v1.4.227, v1.4.229, v1.4.230, v1.4.232, v1.4.233, v1.4.235, v1.4.237 to v1.4.243) the pack for it was tagged within two hours; v1.4.225 and v1.4.226 got theirs too before they were withdrawn. 222 tags since 31 July.
  • Each tag is rebuilt against the release's own rules. The protected-path rule and the allow-list are read from the release tag. A key the release dropped leaves the pack once neither catalog nor any source literal mentions it.
  • The scripts are in the repository. tools/build.py is the build, and tools/audit-pack.py checks any Orca language pack against a release tag: engine verdict, coverage, stale keys, placeholder drift. It is not specific to Russian, in case it is useful for the authoring side.
  • Plurals. A pack's catalog registers under a synthetic plugin<hex> language, so i18next resolves its plurals with the two English forms and never selects _few or _many (i18n: languages with more than two plural forms cannot be translated orca#12106). The pack therefore words the string that every count but one falls back to so that it reads correctly for any number («сохранено веток: 2»). It also already carries the forms English lacks, 243 entries beyond the 15,657 strings: _few and _many for 21 plural families, and the missing forms for 67 strings Orca calls with a count but ships as a single text. Apart from a count of exactly one they change nothing today, and they start rendering the day fix(i18n): resolve plugin-pack plurals with the pack's declared locale orca#12505 lands.
  • Terminology is fixed in a public glossary: GLOSSARY.md.

Upstream work behind the pack

Where a string could not be translated from a pack, I sent the fix to Orca instead of working around it.

Merged:

Open, waiting for review:

Keeping this entry current

The ref goes stale with the next Orca release. I will push a one-line bump to this branch each time the pack is re-released and update the numbers above, so the entry and this description match the current tag whenever you get to it.

If you want a different convention for community listings — description wording, category, position in the file, or anything in the pack repository itself — tell me and I will change it.

Until then the pack installs from its own index: Settings → Plugins → Manage sources → Add source → https://github.com/smwbev/orca-plugins.git.

@smwbev

smwbev commented Oct 28, 2026

Copy link
Copy Markdown
Author

With #16 merged, this PR no longer fits: REVIEW_POLICY.md keeps this repository for official plugins, and orca-marketplace.json is now generated from orca-catalog.json. Orca has also merged a built-in Russian UI language (stablyai/orca#34717). Once a release ships it, I'll retire the pack instead of moving it to the community directory, so I'm closing this.

@smwbev smwbev closed this Oct 28, 2026
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