Skip to content

i18n(es): update multiple files #222

Merged
dreyfus92 merged 4 commits intomainfrom
es/update-003
Feb 18, 2026
Merged

i18n(es): update multiple files #222
dreyfus92 merged 4 commits intomainfrom
es/update-003

Conversation

@dreyfus92
Copy link
Member

@dreyfus92 dreyfus92 commented Feb 18, 2026

Description

  • What does this PR change? Give us a brief description.

    Updates the following spanish docs with upstream:

    • src/content/docs/es/guides/index.mdx
    • src/content/docs/es/guides/upgrade/version-guides/0-1-0-beta-16.mdx
    • src/content/docs/es/guides/upgrade/version-guides/0-1-0-beta-17.mdx
    • src/content/docs/es/how-it-works/cli.mdx
    • src/content/docs/es/how-it-works/index.mdx

Summary by CodeRabbit

  • Documentation
    • Added "Custom Frontend Guides" to Spanish docs.
    • Expanded CLI docs with a new migrator tool and a dedicated migrate command; unified package-manager install/create examples.
    • Reorganized how-it-works content: module and route groupings, auth and renderer sections clarified.
    • Adjusted guide navigation visibility and cleaned up formatting and page metadata.

@dreyfus92 dreyfus92 requested a review from a team as a code owner February 18, 2026 18:12
@htg-1-studiocms-cloud
Copy link

htg-1-studiocms-cloud bot commented Feb 18, 2026

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
StudioCMS Docs ✅ Done Preview URL 2026-02-18T19:03:04.097Z

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 18, 2026

📝 Walkthrough

Walkthrough

Updates Spanish docs: adds a "Guías de Frontend Personalizado" subsection, adjusts frontmatter/sidebar visibility on upgrade guides, restructures CLI docs to use a PackageManagers component and adds a migrate command, and reorganizes how-it-works module and route listings. No executable code changes.

Changes

Cohort / File(s) Summary
Guides & Upgrade Pages
src/content/docs/es/guides/index.mdx, src/content/docs/es/guides/upgrade/version-guides/0-1-0-beta-16.mdx, src/content/docs/es/guides/upgrade/version-guides/0-1-0-beta-17.mdx
Added "Guías de Frontend Personalizado" subsection; added topic: guides frontmatter and replaced explicit order with hidden: true; removed badge block from beta-17; minor formatting adjustments.
CLI Documentation
src/content/docs/es/how-it-works/cli.mdx
Replaced inline npm/pnpm/yarn command tabs with a PackageManagers component; added @studiocms/migrator references and a new migrate command with usage/options; reorganized create/install examples to use PackageManagers.
How-It-Works Index
src/content/docs/es/how-it-works/index.mdx
Consolidated virtual module listings (auth, runtime, component registry), removed some renderer/sdk entries, and reworded authentication and renderer routes to API-scoped naming conventions; content restructuring and cleanup.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • Adammatthiesen
  • louisescher

Poem

🐇 En docs salté con gran tesón,

Añadí guías y nueva sección,
Migrador y comandos canté,
En español todo ordené,
¡Brinca, estudio, celebración! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is generic and vague. While it mentions i18n(es) and updating files, it uses the non-descriptive term 'multiple files' without conveying what the actual changes accomplish. Consider a more specific title like 'i18n(es): sync Spanish docs with upstream CLI and guides changes' to better convey the main purpose of the updates.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch es/update-003

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@studiocms-no-reply
Copy link
Member

studiocms-no-reply commented Feb 18, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
es/guides/index.mdx Localization changed, will be marked as complete.
es/guides/upgrade/version-guides/0-1-0-beta-16.mdx Localization changed, will be marked as complete.
es/guides/upgrade/version-guides/0-1-0-beta-17.mdx Localization changed, will be marked as complete.
es/how-it-works/cli.mdx Localization changed, will be marked as complete.
es/how-it-works/index.mdx Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/es/guides/index.mdx`:
- Around line 18-21: The link "Renderizando Contenido" in
src/content/docs/es/guides/index.mdx points to a non-existent page
/es/guides/custom-frontend/rendering/; either remove this list item or add a
Spanish translation by creating the directory guides/custom-frontend and a
rendering.mdx translated from
src/content/docs/en/guides/custom-frontend/rendering.mdx (ensure frontmatter,
slug, and internal links match the /es path), then update the index entry to
point to the new file.

In `@src/content/docs/es/how-it-works/cli.mdx`:
- Around line 263-275: The package.json script name in step 2
("migrate-studiocms") does not match the PackageManagers component's pkg prop in
step 3 (currently "studiocms-migrator"), causing a "script not found" error; fix
by aligning them—either rename the script in the JSON to "studiocms-migrator" or
update the PackageManagers component's pkg prop to "migrate-studiocms" so the
script name and the PackageManagers pkg value match (refer to the package.json
"migrate-studiocms" script and the <PackageManagers pkg="..."> prop).
- Around line 259-278: Add the missing Steps import and remove the unused Tabs
and TabItem imports so the ES file's imports match the English version (update
the import statement that currently references Tabs/TabItem to only import
Steps); then fix the script name mismatch between the package.json example and
the PackageManagers run call by making them consistent—either change the script
key "migrate-studiocms" to "studiocms-migrator" or change the PackageManagers
call pkg="studiocms-migrator" to pkg="migrate-studiocms" (ensure PackageManagers
and the package.json script name refer to the same token), and apply the same
alignment to the English file if it has the same discrepancy.

In `@src/content/docs/es/how-it-works/index.mdx`:
- Around line 109-110: Replace the English abbreviation "e.g." with the Spanish
idiom "p. ej." in the two endpoint descriptions for
**`/studiocms_api/auth/[provider]`** and
**`/studiocms_api/auth/[provider]/callback`** so the Spanish translation uses
"p. ej." (por ejemplo) instead of "e.g." in both parenthetical examples.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@src/content/docs/es/how-it-works/cli.mdx`:
- Around line 12-13: Import the missing Steps component and remove the unused
Tabs and TabItem imports to match the English source and restore build parity:
add an import for Steps (the component used at lines where <Steps> appears)
alongside the existing PackageManagers import, delete the Tabs and TabItem
import from '@astrojs/starlight/components' since they are unused, and add the
missing trailing semicolon after the PackageManagers import to satisfy static
analysis.
- Around line 277-290: The guide has a script-name mismatch: the package.json
script is added as "migrate-studiocms" but the PackageManagers component renders
pkg="studiocms-migrator", causing a "script not found" error; fix it by updating
the PackageManagers prop (pkg) to "migrate-studiocms" so it matches the script
name (or alternatively rename the script in the JSON to
"studiocms-migrator")—locate the PackageManagers usage in this doc and align its
pkg attribute with the "migrate-studiocms" script declared in the JSON block.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/es/how-it-works/index.mdx`:
- Around line 109-110: Replace the informal Spanish abbreviation "ej." with the
standard "p. ej." in the two documentation lines that mention the authentication
endpoints (the lines containing "/studiocms_api/auth/[provider]" and
"/studiocms_api/auth/[provider]/callback"), ensuring both occurrences are
updated to "p. ej." to match canonical Spanish technical style.

@dreyfus92 dreyfus92 merged commit 5c35eac into main Feb 18, 2026
8 checks passed
@dreyfus92 dreyfus92 deleted the es/update-003 branch February 18, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants