Skip to content

Translate content: assistant widget pages (es, fr, zh) - #6768

Merged
mintlify[bot] merged 1 commit into
mainfrom
mintlify/72c6cf4e
Jul 28, 2026
Merged

Translate content: assistant widget pages (es, fr, zh)#6768
mintlify[bot] merged 1 commit into
mainfrom
mintlify/72c6cf4e

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Translates the new assistant widget documentation from #6754 into Spanish, French, and Chinese, and mirrors the docs.json navigation change into each language config.

Changes

  • Add translated assistant/widget.mdx under es/, fr/, zh/.
  • Add assistant/widget-preview.mdx under es/, fr/, zh/ (no prose to translate).
  • Insert <lang>/assistant/widget into es.json, fr.json, zh.json in the same slot as English.

Context

Follows the merged PR #6754 which added the Mintlify assistant widget pages and the navigation entry.


Note

Low Risk
Documentation and i18n navigation only; no application or API behavior changes.

Overview
Adds localized assistant widget documentation for Spanish (es), French (fr), and Chinese (zh), following the English widget docs from #6754.

Each locale gets a full assistant/widget.mdx translation (install, playground, MintlifyAssistant API reference, CSP) wired to the same shared snippets (AssistantWidgetPlayground, AssistantWidgetPreviewHost). assistant/widget-preview.mdx is added per locale with English frontmatter and noindex, matching the English preview host pattern.

Navigation in es.json, fr.json, and zh.json now lists <lang>/assistant/widget under the Assistant group, in the same position as English (configurecustomizewidgetskillsuse).

Reviewed by Cursor Bugbot for commit 4fd00a3. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
mintlify Bot requested review from dks333 and ethanpalm July 28, 2026 00:42
@mintlify
mintlify Bot merged commit bfe69b4 into main Jul 28, 2026
4 checks passed
@mintlify
mintlify Bot deleted the mintlify/72c6cf4e branch July 28, 2026 00:42
@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🔴 Failed Jul 28, 2026, 12:43 AM

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🔴 Failed Jul 28, 2026, 12:43 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4fd00a3. Configure here.

Comment thread es/assistant/widget.mdx

Después de añadir el código generado a tu sitio, recarga la página. Confirma que aparece el activador y, luego, haz clic en él y envía una pregunta de prueba para verificar que el widget está conectado.

<AssistantWidgetPlayground CodeBlockComponent={WidgetCodeBlock}>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Playground layout broken on locales

Medium Severity

The new localized widget pages mount AssistantWidgetPlayground, but playground.css only matches data-current-path="/assistant/widget". Paths like /es/assistant/widget miss those rules, so the desktop side-by-side preview layout does not apply. The preview host already uses a suffix selector for locales; the main widget selectors do not.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4fd00a3. Configure here.

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟡 Building Jul 28, 2026, 12:42 AM

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟡 Building Jul 28, 2026, 12:42 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant