Skip to content

Conversation

@locadex-agent
Copy link
Contributor

@locadex-agent locadex-agent bot commented Jan 16, 2026

Summary

This PR adds internationalization support to your repository.

What this PR does

This automated PR from Locadex processes your code changes and generates translations:

  • Internationalized code — Wrapped translatable content with i18n components/functions
  • Generated translations — Created or updated translation files for your target languages
  • Updated configuration — Synced i18n configuration files as needed

Changes

Translation files updated (6)
  • es/components/code-groups.mdx: Updated translation file
  • es/components/tabs.mdx: Updated translation file
  • fr/components/code-groups.mdx: Updated translation file
  • fr/components/tabs.mdx: Updated translation file
  • zh/components/code-groups.mdx: Updated translation file
  • zh/components/tabs.mdx: Updated translation file
Configuration files updated (1)
  • gt-lock.json: Updated the translation lockfile to add the latest changes

Next steps

  1. Review the localization changes to ensure they look correct
  2. Merge this PR to apply the translations to your application

Automated PR created by Locadex in 76s

General Translation | Configure Locadex for Docs


Note

Improves ES/FR docs for CodeGroup and Tabs, clarifying cross-component behavior and adding a new prop.

  • Synchronization behavior: Document that Tabs and CodeGroup with matching labels auto-sync selections; title field notes syncing when titles match
  • New prop: Add borderBottom (boolean) to Tabs to add bottom border and padding
  • Content cleanup: Normalize code examples to “Hello World”, minor copy edits, and heading/id tweaks (e.g., create-code-groups)

Written by Cursor Bugbot for commit 2dc0b63. This will update automatically on new commits. Configure here.

</Tab>
<Tab title="Segunda pestaña" icon="leaf">
✌️ Aquí está el contenido que solo se encuentra dentro de la segunda pestaña.
<Tab title="Second tab" icon="leaf">
Copy link
Contributor

Choose a reason for hiding this comment

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

This Tabs example block flips the 2nd/3rd tab back to English; seems like an i18n regression for the Spanish page.

Suggested change
<Tab title="Second tab" icon="leaf">
<Tab title="Segunda pestaña" icon="leaf">
✌️ Aquí está el contenido que solo se encuentra dentro de la segunda pestaña.
¡Esta tiene un icono de <Icon icon="leaf" />!
</Tab>
<Tab title="Tercera pestaña">
💪 Aquí está el contenido que solo se encuentra dentro de la tercera pestaña.
</Tab>

</Tab>
<Tab title="第二个标签页" icon="leaf">
✌️ 这里的内容只在第二个标签页中显示。
<Tab title="Second tab" icon="leaf">
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here: the 2nd/3rd tab in the Tabs example block is now English, which reads like a translation regression.

Suggested change
<Tab title="Second tab" icon="leaf">
<Tab title="第二个标签页" icon="leaf">
✌️ 这里的内容只在第二个标签页中显示。
这个标签页带有 <Icon icon="leaf" /> 图标!
</Tab>
<Tab title="第三个标签页">
💪 这里的内容只在第三个标签页中显示。
</Tab>

## Creación de grupos de código
Los grupos de código se sincronizan automáticamente con otros grupos de código y con [pestañas](/es/components/tabs) en la misma página cuando sus etiquetas coinciden. Cuando seleccionas un lenguaje en un grupo de código, todas las pestañas y grupos de código con etiquetas coincidentes se actualizan para mostrar el mismo lenguaje.

<div id="create-code-groups">
Copy link
Contributor

Choose a reason for hiding this comment

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

Changing this anchor id can break inbound links/bookmarks. If you don't need the rename, consider keeping the existing id.

Suggested change
<div id="create-code-groups">
<div id="creating-code-groups">
## Crear grupos de código
</div>

## Création de groupes de code
Les groupes de code se synchronisent automatiquement avec les autres groupes de code et les [onglets](/fr/components/tabs) sur la même page lorsque leurs libellés correspondent. Lorsque vous sélectionnez un langage dans un groupe de code, tous les onglets et groupes de code avec des libellés correspondants se mettent à jour pour afficher le même langage.

<div id="create-code-groups">
Copy link
Contributor

Choose a reason for hiding this comment

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

Same concern: renaming this anchor can break inbound links/bookmarks.

Suggested change
<div id="create-code-groups">
<div id="creating-code-groups">
## Créer des groupes de code
</div>


```javascript helloWorld.js
console.log("Hola Mundo");
console.log("Hello World");
Copy link
Contributor

Choose a reason for hiding this comment

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

With JS/Python switched to English here, the Java line in the same snippet still prints Spanish, so the example reads mixed-language now. Might be worth updating the Java line too (or keeping this snippet fully localized).


```javascript helloWorld.js
console.log("Bonjour le monde");
console.log("Hello World");
Copy link
Contributor

Choose a reason for hiding this comment

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

Same: JS/Python are now English in this snippet, but the Java output line below is still French, so the example reads mixed-language. Consider updating Java as well (or keeping the snippet fully localized).


```javascript helloWorld.js
console.log("你好世界");
console.log("Hello World");
Copy link
Contributor

Choose a reason for hiding this comment

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

Same: JS/Python are now English in this snippet, but the Java output line below is still Chinese, so the example reads mixed-language. Consider updating Java as well (or keeping the snippet fully localized).

@locadex-agent
Copy link
Contributor Author

locadex-agent bot commented Jan 16, 2026

🔄 Automatically closed

A more recent translation PR (#2745) was created. This PR is now outdated.

@locadex-agent locadex-agent bot closed this Jan 16, 2026
@locadex-agent locadex-agent bot deleted the locadex/main/1768607107454 branch January 16, 2026 23:56
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.

2 participants