Skip to content

i18n(es): adds multiple files#226

Merged
dreyfus92 merged 19 commits into
withstudiocms:mainfrom
jramma:main
Feb 19, 2026
Merged

i18n(es): adds multiple files#226
dreyfus92 merged 19 commits into
withstudiocms:mainfrom
jramma:main

Conversation

@jramma
Copy link
Copy Markdown
Contributor

@jramma jramma commented Feb 19, 2026

  • /src/content/docs/es/plugins/renderers.mdx
  • And plugins (small translations in folder /src/content/docs/es/package-catalog/studiocms-plugins/):
    • sudiocms-auth0.mdx
    • sudiocms-cloudinary-js.mdx
    • sudiocoms-discord.mdx
    • sudiocoms-github.mdx
    • sudiocoms-google.mdx
    • sudiocms-html.mdx
    • sudiocms-md.mdx

Summary by CodeRabbit

  • Documentation
    • Added Spanish docs for StudioCMS plugins: Auth0, Cloudinary, Discord, GitHub, Google, HTML, and Markdown — each includes installation, configuration examples, usage guidance, and required environment variables.
    • Added a Spanish guide for creating and integrating custom renderer plugins, with examples for plugin registration, renderer implementation, editor component integration, and recommended workflow.

jramma and others added 15 commits February 18, 2026 17:52
New files:
- api-endpoint.mdx
- index.mdx
- javascript-helpers.mx
New files:
-  api-endpoint.mdx
- index.mdx
- javascript-helpers.mx
-  JSDoc comments should remain in English for built-in service implementations.
- Spanish capitalization rule violated in three H4 headings.
- Spanish documentation should use the English method name to match the actual package source.
Co-authored-by: Adam Matthiesen <amatthiesen@outlook.com>
- /src/content/docs/es/plugins/renderers.mdx
- And plugins (small translations in folder /src/content/docs/es/package-catalog/studiocms-plugins/):
	- sudiocms-auth0.mdx
	- sudiocms-cloudinary-js.mdx
	- sudiocoms-discord.mdx
	- sudiocoms-github.mdx
	- sudiocoms-google.mdx
	- sudiocms-html.mdx
	- sudiocms-md.mdx
@jramma jramma requested a review from a team as a code owner February 19, 2026 19:03
@htg-1-studiocms-cloud
Copy link
Copy Markdown

htg-1-studiocms-cloud Bot commented Feb 19, 2026

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
StudioCMS Docs ✅ Done Preview URL 2026-02-19T20:38:08.790Z

@studiocms-no-reply
Copy link
Copy Markdown
Member

studiocms-no-reply commented Feb 19, 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/package-catalog/studiocms-plugins/studiocms-auth0.mdx Localization added, will be marked as complete.
es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx Localization added, will be marked as complete.
es/package-catalog/studiocms-plugins/studiocms-discord.mdx Localization added, will be marked as complete.
es/package-catalog/studiocms-plugins/studiocms-github.mdx Localization added, will be marked as complete.
es/package-catalog/studiocms-plugins/studiocms-google.mdx Localization added, will be marked as complete.
es/package-catalog/studiocms-plugins/studiocms-html.mdx Localization added, will be marked as complete.
es/package-catalog/studiocms-plugins/studiocms-md.mdx Localization added, will be marked as complete.
es/plugins/renderers.mdx Localization added, 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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 19, 2026

📝 Walkthrough

Walkthrough

Adds Spanish localized documentation pages for multiple StudioCMS plugins (Auth0, Cloudinary, Discord, GitHub, Google, HTML, Markdown) and a Spanish guide on renderer plugin development; each file contains frontmatter, installation/config examples, usage snippets, and environment variable guidance.

Changes

Cohort / File(s) Summary
Auth & OAuth plugins
src/content/docs/es/package-catalog/studiocms-plugins/studiocms-auth0.mdx, src/content/docs/es/package-catalog/studiocms-plugins/studiocms-discord.mdx, src/content/docs/es/package-catalog/studiocms-plugins/studiocms-github.mdx, src/content/docs/es/package-catalog/studiocms-plugins/studiocms-google.mdx
New Spanish docs for OAuth/auth providers: frontmatter, usage/config snippets for studiocms.config.mjs, and listed required env vars (CLIENT_ID, CLIENT_SECRET, REDIRECT_URI).
Image & content plugins
src/content/docs/es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx, src/content/docs/es/package-catalog/studiocms-plugins/studiocms-html.mdx, src/content/docs/es/package-catalog/studiocms-plugins/studiocms-md.mdx
New Spanish docs covering installation, configuration examples, preferredImageService guidance, environment variable notes (e.g., CMS_CLOUDINARY_CLOUDNAME), and markdown/html sanitize/type option examples.
Plugin development guide
src/content/docs/es/plugins/renderers.mdx
New Spanish guide explaining how to create renderer plugins with sample plugin file, renderer implementation, editor Astro component examples, and suggested workflow/read-more references.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Beta.23 #151 — Adds English documentation for the same StudioCMS plugins and examples (likely the source/reference for these translations).
  • i18n(fr): update package-catalog #157 — Adds localized documentation for a similar plugin set in another locale (related localization work).

Suggested reviewers

  • dreyfus92
  • Adammatthiesen

Poem

🐰 Saltando entre MDX y luz,
Traduje plugins con ritmo y cruz.
Auth, Cloudinary, GitHub y más,
Renderers listos para probar, ¡qué paz!
🥕 ¡Celebración de código y hojas en compás!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'i18n(es): adds multiple files' accurately summarizes the main change - adding Spanish localization/internationalization documentation files across multiple locations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link
Copy Markdown
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/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx`:
- Line 6: The frontmatter description string currently reads description:
"Servicio de imagenes Cloudinary para StudioCMS" and misses the accent on
"imágenes"; update that description value to "Servicio de imágenes Cloudinary
para StudioCMS" (adjust the quoted description field in the frontmatter) so the
accented character is used correctly.

In `@src/content/docs/es/package-catalog/studiocms-plugins/studiocms-md.mdx`:
- Line 12: Fix the header typo by replacing the text "# Introucción" with the
correctly spelled "# Introducción" in the document (update the header string
used in the MDX file).
- Line 16: The heading "## Installation" in the MDX document is untranslated;
replace the exact heading text "## Installation" with "## Instalación" so it
matches the other Spanish docs (look for the line containing the literal heading
"## Installation" in this file/studiocms-md.mdx and update it to "##
Instalación").

In `@src/content/docs/es/plugins/renderers.mdx`:
- Around line 54-67: Update the code block title to match the TypeScript syntax:
change the twoslash title from "components/render.js" to "components/render.ts"
so the TypeScript-only features (import type, : string annotation, satisfies)
are correctly represented; locate the block containing the render constant
(name: 'mi-renderizador-personalizado', renderer: async (content: string) =>
..., satisfies PluginRenderer) and replace the title in the opening
triple-backtick line accordingly.

Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx Outdated
Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-md.mdx Outdated
Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-md.mdx Outdated
Comment thread src/content/docs/es/plugins/renderers.mdx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Copy Markdown
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: 2

🧹 Nitpick comments (1)
src/content/docs/es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx (1)

9-10: Remove unused component imports.

Steps, Tabs, and TabItem are imported but never used in this file. Only PackageManagers is used.

🧹 Proposed fix
 import { PackageManagers } from 'starlight-package-managers'
-import { Steps, Tabs, TabItem } from '@astrojs/starlight/components';
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@src/content/docs/es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx`
around lines 9 - 10, The file imports unused components Steps, Tabs, and TabItem
which should be removed to avoid dead imports; keep only the used symbol
PackageManagers by deleting Steps, Tabs, and TabItem from the import statement
(i.e., remove the named imports Steps, Tabs, TabItem and leave import {
PackageManagers } from 'starlight-package-managers').
🤖 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/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx`:
- Line 14: Add missing terminal periods to the Spanish sentences in the MDX
content: append a period to "Este plugin habilita el servicio de imágenes
Cloudinary para StudioCMS" and to the other sentence flagged at the same
document (line shown as 35-35). Update the two strings so each sentence ends
with a period to satisfy the QB_NEW_ES grammar linter.
- Around line 24-33: The code block inside the list item is over-indented by one
space, causing a leading space in rendered lines; adjust the fenced block so
every inner line uses the same 3-space list-continuation indent — specifically
reduce the indentation of the lines inside the block (including the line
starting with "export default defineStudioCMSConfig" and the subsequent plugin
array lines that call cloudinaryJS()) by one space so they align with the
opening ```ts fence and render without the spurious leading space.

---

Nitpick comments:
In
`@src/content/docs/es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx`:
- Around line 9-10: The file imports unused components Steps, Tabs, and TabItem
which should be removed to avoid dead imports; keep only the used symbol
PackageManagers by deleting Steps, Tabs, and TabItem from the import statement
(i.e., remove the named imports Steps, Tabs, TabItem and leave import {
PackageManagers } from 'starlight-package-managers').

Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx Outdated
Copy link
Copy Markdown
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/package-catalog/studiocms-plugins/studiocms-cloudinary-js.mdx`:
- Around line 24-33: The code fence inside the list item is indented 3 spaces
but the code lines (the imports, cloudinaryJS invocation and export) have one
extra leading space, causing a spurious leading space when rendered; fix by
removing one leading space from each code line inside the fenced block so the
import { defineStudioCMSConfig }..., import cloudinaryJS..., and export default
defineStudioCMSConfig({...}) lines align with the fence indentation (i.e., have
exactly the same 3-space list-continuation indent).

@dreyfus92 dreyfus92 changed the title i18n(es): added multiple files i18n(es): addsmultiple files Feb 19, 2026
@dreyfus92 dreyfus92 changed the title i18n(es): addsmultiple files i18n(es): adds multiple files Feb 19, 2026
Copy link
Copy Markdown
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

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

awesome work @jramma, i left a couple of nits 😄

Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-auth0.mdx Outdated
Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-discord.mdx Outdated
Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-github.mdx Outdated
Comment thread src/content/docs/es/package-catalog/studiocms-plugins/studiocms-google.mdx Outdated
Co-authored-by: paul valladares <85648028+dreyfus92@users.noreply.github.com>
@jramma
Copy link
Copy Markdown
Contributor Author

jramma commented Feb 19, 2026

thanks @dreyfus92 😁

Copy link
Copy Markdown
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

🧹 Nitpick comments (1)
src/content/docs/es/package-catalog/studiocms-plugins/studiocms-auth0.mdx (1)

12-12: Minor Spanish redundancy: "Configura la configuración".

The phrase "Configura la configuración necesaria" repeats the same root (configura / configuración), which reads awkwardly. Consider a cleaner alternative:

✏️ Suggested rewording
-Este plugin integra Auth0 como un proveedor de autenticación OAuth para StudioCMS, permitiendo la autenticación mediante Auth0. Configura la configuración necesaria, incluyendo las variables de entorno requeridas y las rutas de los endpoints.
+Este plugin integra Auth0 como un proveedor de autenticación OAuth para StudioCMS, permitiendo la autenticación mediante Auth0. Establece los ajustes necesarios, incluyendo las variables de entorno requeridas y las rutas de los endpoints.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/es/package-catalog/studiocms-plugins/studiocms-auth0.mdx` at
line 12, Replace the redundant phrase "Configura la configuración necesaria" in
the sentence that starts with "Este plugin integra Auth0..." with a cleaner
alternative (e.g., "Configura los parámetros necesarios", "Proporciona la
configuración necesaria" or simply "Incluye la configuración necesaria"); locate
the exact phrase "Configura la configuración necesaria" in the content and
update it to one of these alternatives so the sentence reads smoothly and avoids
root-word repetition.
🤖 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/package-catalog/studiocms-plugins/studiocms-auth0.mdx`:
- Around line 1-35: The phrase "Configura la configuración necesaria" is
redundant; edit the introductory paragraph (the sentence that currently reads
"Configura la configuración necesaria, incluyendo las variables de entorno
requeridas y las rutas de los endpoints.") and replace it with a clearer
alternative such as "Establece la configuración necesaria, incluyendo las
variables de entorno requeridas y las rutas de los endpoints" or "Define los
ajustes necesarios, incluyendo las variables de entorno requeridas y las rutas
de los endpoints" so the repetition of "configuración" is removed.

---

Nitpick comments:
In `@src/content/docs/es/package-catalog/studiocms-plugins/studiocms-auth0.mdx`:
- Line 12: Replace the redundant phrase "Configura la configuración necesaria"
in the sentence that starts with "Este plugin integra Auth0..." with a cleaner
alternative (e.g., "Configura los parámetros necesarios", "Proporciona la
configuración necesaria" or simply "Incluye la configuración necesaria"); locate
the exact phrase "Configura la configuración necesaria" in the content and
update it to one of these alternatives so the sentence reads smoothly and avoids
root-word repetition.

@dreyfus92 dreyfus92 merged commit 11288a8 into withstudiocms:main Feb 19, 2026
8 checks passed
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