Repository navigation
feat: enable Swedish docs and bounded locale onboarding - #270
Merged
Merged
Conversation
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.
What Problem This Solves
Swedish source navigation and translation support from openclaw/openclaw#62063 also need publisher registration. A first single-page publishing canary would activate a locale without the homepage and getting-started page required by the site.
User Impact
Adds Svenska to the existing docs locale system, including Swedish homepage, navigation controls, community invitation, and table-of-contents text. Generated Swedish articles remain owned by the existing translation workflow.
Why This Change Was Made
Registers
svacross the renderer, translation planner, artifact finalizer, manual selector, and incremental exclusions. A publishing canary includes only missing entry pages alongside its LINE sample, validates the site before committing, and refreshes language menus through the existing R2 publisher. Complete locales retain their single-page canary. New-locale publication requiresmain; branch diagnostics remain non-publishing.Swedish is not published yet. Source changes must land and sync before Swedish publication. The bounded activation command is
Translate Fullonmain,target_locale=sv,canary_only=true, with the default LINE sample. This does not start a full Swedish translation wave.Evidence
7700f4272088941e621583d9f8454b2d6847c0da.make docs-checkpasses: 15,483 pages, 15,482 indexed articles across 21 existing locales, 63,064 R2 objects, and full shell/routing/skin/hidden-fixture smoke checks. The optional code-source index was empty because this isolated build had no external source checkout.aeb99ffaf3ef3b764561e3a7732dcd33b300d68fc1abd6ae6a759301ea67c9e2.git diff --checkpass.Production delta: +57 lines for the locale data and bounded first-publication capability; documentation +1; tests +127. No generated docs, translation memory, navigation, or source metadata were edited.