morningman opened a new pull request, #4329: URL: https://github.com/apache/doris-website/pull/4329
Existing Japanese translations stored in page state files are rejected as untracked because the translation engine reads only the legacy ledger. Merge the same effective state as the site, honor human ownership, and write each candidate to its page state file when shards are enabled. Legacy repositories keep their current ledger format. Generation now records the exact state file in each candidate manifest. Publishing validates that path against the candidate identity and stages only the matching translation and state. Snapshot checks preserve concurrent edits; a failed batch write restores earlier translations and state files. Validation: - Node 20.20.2: all 103 i18n tests pass, including 10 new regression cases for existing shards, legacy migration, ownership, concurrent changes, rollback and publication paths. - All six current stale pages prepare successfully with offline fixture translations and retain their protected-content signatures; no source, translation or state file is applied. - The full local bare-remote simulation of the actual bitmap-union-int update is running. It exercises generation, the real publication gate and a mocked draft PR; results will be added before this PR leaves draft. No live model call or GitHub write-credential validation is claimed. The repaired workflow must be merged to trusted master before the one-page live validation is rerun. Automatic generation remains disabled. ## Versions - [x] dev - [x] 4.x - [ ] 3.x - [ ] 2.1 or older (not covered by version/language sync gate) The managed translation scope remains Dev, 4.x and community. No product documentation, route, sidebar or locale scope changes. ## Languages - [ ] Chinese - [x] English Only the tooling README changes; there are no localized product-doc counterparts to synchronize. ## Docs Checklist - [x] Checked by AI - [x] Test Cases Built - [x] Updated required version and language counterparts, or explained why not - [x] If only one language changed, confirmed whether source/translation counterparts need sync -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
