mirror of
https://github.com/Comfy-Org/embedded-docs.git
synced 2026-11-05 00:17:31 +00:00
[PR #204] [MERGED] docs-generation: sync the Spanish locale to comfy/docs #202
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/embedded-docs#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/embedded-docs/pull/204
Author: @lin-bot23
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @comfyui-wiki
Base:
main← Head:docs/es-locale-sync📝 Commits (1)
cd04c44docs-generation: sync the Spanish locale to comfy/docs📊 Changes
1 file changed (+49 additions, -31 deletions)
View changed files
📝
docs-generation/scripts/sync_to_comfy_docs.py(+49 -31)📄 Description
Adds the Spanish locale to the docs sync so
comfyui_embedded_docs/docs/<Node>/es.mdreaches docs.comfy.org.Español is now a locale of the docs site (#2070, #2103), and every node already ships
es.mdupstream: 1022 of 1022 nodes have one. The sync tool itself still only knewen/zh/ja/ko, so the Spanish files had no path into the docs repository.Changes
BUILTIN_EStarget plus a fifthLOCALE_CONFIGSentry (es.md→es/built-in-nodes, tabNodos integrados, wrapperNodos, default groupAvanzado).CATEGORY_TO_GROUPtuple gains its Spanish label (28 categories:Acondicionamiento,Cargadores,Imagen,Latente,Muestreo,Avanzado,Utilidades,Nodo API,Parches de modelo,Lógica,Máscara, ...), and_default_group_for_langtakes the new index so an unmapped category lands inAvanzadoinstead of falling back to English.Notes for reviewers
translate-i18n.ts --sync-docs-json --lang esfordocs.json(it prunes pages that do not exist yet and translates the group labels), so pages can be synced with--no-docs-jsonand the nav follows automatically.--mode test --count 3 --no-docs-jsonwrites onlyes/built-in-nodes/*.mdx, leavingen/zh/ja/kobyte-identical.pytest docs-generation/testsis 110 passed, 1 failed:test_translation_fixes.py::DryRunTests::test_persian_outputs_section_detectedfails onorigin/mainas well (verified withgit stash), so it is pre-existing.model→modelo,conditioning→acondicionamiento). Sampling 40 nodes gives zh 25/40, ja 23/40, ko 21/40, es 23/40, de 0/40. Slot names are UI/API identifiers, so this deserves its own fix across locales rather than being caught by the Spanish sync.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.