[i18n-ES] Add Spanish translation for guides/overview - #4852
Open
nicolasdmolina wants to merge 1 commit into
Open
[i18n-ES] Add Spanish translation for guides/overview#4852nicolasdmolina wants to merge 1 commit into
nicolasdmolina wants to merge 1 commit into
Conversation
Start the Spanish docs with the How-to guides landing page, following TRANSLATING.md. Get Started pages are already in huggingface#4401, so this PR only adds guides/overview.md, a matching toctree, and registers `es` in the doc build workflows.
18 tasks
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.
Summary
Spanish docs are still missing from
main. #4401 already bootstraps Get Started (index.md,quick-start.md,installation.md), so this PR does not repeat those pages.This adds one How-to guides page so the
eslocale can start building and grow one chapter at a time:docs/source/es/guides/overview.mddocs/source/es/_toctree.yml(only this chapter, per TRANSLATING.md)esin the main and PR documentation workflowsProse is informal and gender-neutral. HTML, relative links, doc-builder syntax, and product names (
Hub,Spaces,HfFileSystem,Model Cards,Jobs, …) stay aligned with the English overview. Linked guide pages are not translated yet; they can land in later PRs, same as Hindi did in #4405.Part of #2640 and #1700. Reviewers from the issue: @Wauplin @hanouticelina @stevhliu.
If a Spanish-speaking reviewer can skim the wording, that would help a lot. Happy to adjust.
Verification
docs/source/en/guides/overview.md: 14 cards, samehrefs, same CSS classes, same line count._toctree.ymland both workflow files as YAML.make styleandmake quality(ruff + generated-file checks +ty check src) passed. No Python/runtime changes, so library tests were not rerun.Example
After the docs build, the new page should show up under Spanish as the How-to guides landing page, with the same card grid as https://huggingface.co/docs/huggingface_hub/en/guides/overview.
Note
Low Risk
Documentation-only i18n and CI language list updates; no library or runtime behavior changes.
Overview
Adds Spanish (
es) to the huggingface_hub doc build by registeringesin the main and PR documentation GitHub workflows, and introducing the first How-to guides slice for that locale.New content includes
docs/source/es/_toctree.yml(chapter Guías prácticas →guides/overview) and a Spanishguides/overview.mdlanding page that mirrors the English card grid (same links, markup, and product names). Individual guide pages behind those links are not translated in this PR.Reviewed by Cursor Bugbot for commit a7ba61f. Bugbot is set up for automated code reviews on this repo. Configure here.