Translate content: assistant widget pages (es, fr, zh) - #6768
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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.
|
|
||
| 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}> |
There was a problem hiding this comment.
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)
Reviewed by Cursor Bugbot for commit 4fd00a3. Configure here.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |


Summary
Translates the new assistant widget documentation from #6754 into Spanish, French, and Chinese, and mirrors the
docs.jsonnavigation change into each language config.Changes
assistant/widget.mdxunderes/,fr/,zh/.assistant/widget-preview.mdxunderes/,fr/,zh/(no prose to translate).<lang>/assistant/widgetintoes.json,fr.json,zh.jsonin 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.mdxtranslation (install, playground,MintlifyAssistantAPI reference, CSP) wired to the same shared snippets (AssistantWidgetPlayground,AssistantWidgetPreviewHost).assistant/widget-preview.mdxis added per locale with English frontmatter andnoindex, matching the English preview host pattern.Navigation in
es.json,fr.json, andzh.jsonnow lists<lang>/assistant/widgetunder the Assistant group, in the same position as English (configure→customize→ widget →skills→use).Reviewed by Cursor Bugbot for commit 4fd00a3. Bugbot is set up for automated code reviews on this repo. Configure here.