feat(i18n): Add Spanish language support #513
Merged
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
This pull request adds complete Spanish (es) language support to the Socket.IO documentation website.
Changes Made
Configuration
docusaurus.config.jsto includeesin the list of supported localesTranslation Files Added
The following translation files have been added under
i18n/es/:Core Configuration Files
code.json- UI strings and labelsdocusaurus-theme-classic/navbar.json- Navigation bar translationsdocusaurus-theme-classic/footer.json- Footer translationsdocusaurus-plugin-content-blog/options.json- Blog plugin translationsdocusaurus-plugin-content-docs/current.json- Docs plugin translationsdocusaurus-plugin-content-docs/version-2.x.json- Version 2.x labelsdocusaurus-plugin-content-docs/version-3.x.json- Version 3.x labelsDocumentation Categories (86 markdown files)
API Reference
server-api.md- Complete Server API referenceclient-api.md- Complete Client API referenceserver-options.md- Server configuration optionsclient-options.md- Client configuration optionsemit-cheatsheet.md- Emit cheatsheetTutorial (13 chapters)
Complete translation of the step-by-step tutorial:
Changelog
All changelog entries from version 2.5.0 through 4.8.1
Additional Pages
socket-io-with-apache-cordova.md- Apache Cordova integration guideWhy This Matters
Spanish is one of the most spoken languages in the world, with over 500 million native speakers. Adding Spanish language support will:
Testing
npm run buildRelated
This follows the same structure and conventions established by the existing translations:
I would be happy to address any feedback or make adjustments as needed. Thank you for considering this contribution! 🙏