Add Spanish locale#30
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces comprehensive Spanish translations across the application, including account management, AI assistant features, authentication, billing, and the diagram renderer. The changes involve adding several new YAML locale files, updating the metadata, and registering the Spanish locale in the source code. Review feedback highlighted several instances in databaseGuidelines.yaml and dbrenderer.yaml where strings remained in English or contained encoding errors, providing specific Spanish translations to ensure consistency.
| install: Install # Install link text | ||
| tool: mysqldump # Tool name | ||
| terminalCommand: In your terminal run the following command # Instruction (command block) | ||
| linuxPrefix: On Linux you might need to add # Linux-specific note | ||
| sudo: sudo # Sudo command | ||
| linuxSuffix: before it # Sudo placement hint | ||
| example: Example # Command block label | ||
| step3: Copy the dumped SQL content and paste it into this modal # Final step instruction |
There was a problem hiding this comment.
Several strings in this section are still in English. They should be translated to Spanish to maintain consistency with the rest of the locale files.
install: Instalar # Install link text
tool: mysqldump # Tool name
terminalCommand: En tu terminal, ejecuta el siguiente comando # Instruction (command block)
linuxPrefix: En Linux, es posible que necesites añadir # Linux-specific note
sudo: sudo # Sudo command
linuxSuffix: antes # Sudo placement hint
example: Ejemplo # Command block label
step3: Copia el contenido SQL volcado y pégalo en este modal # Final step instruction| title: Tables # Panel title (left sidebar header) | ||
| diagramViews: Diagram Views # Dropdown header for views (table search panel) | ||
| diagramViewsTooltip: Diagram views are collections of tables that represent specific domains or workflows in your database. # Tooltip for views dropdown | ||
| viewActions: View actions # Dropdown header for view actions |
There was a problem hiding this comment.
These UI labels are still in English. Please translate them to Spanish.
title: Tablas # Panel title (left sidebar header)
diagramViews: Vistas de diagrama # Dropdown header for views (table search panel)
diagramViewsTooltip: Las vistas de diagrama son colecciones de tablas que representan dominios o flujos de trabajo específicos en tu base de datos. # Tooltip for views dropdown
viewActions: Acciones de vista # Dropdown header for view actions| diagramViews: Diagram Views # Dropdown header for views (table search panel) | ||
| diagramViewsTooltip: Diagram views are collections of tables that represent specific domains or workflows in your database. # Tooltip for views dropdown | ||
| viewActions: View actions # Dropdown header for view actions | ||
| cannotRenameOrDelete: Cannot rename or delete the {name} # Error toast (default view protection) |
| snowflake: Snowflake # Algorithm option (snowflake schema layout) | ||
| compact: Compact # Algorithm option (compact layout) | ||
| confirmMessage: Your diagram will be automatically rearranged and you will not be able to undo. Are you sure? # Warning in modal body | ||
| confirm: Confirm (↵) # Confirm button (with Enter shortcut) |
| stickyNotes: | ||
| untitledNote: Untitled Note # Default name for new notes | ||
| removeNoteConfirmation: Remove your note? # Delete confirmation dialog title | ||
| 'yes': 'Yes' # Confirm button (delete note) |
| # Record Preview - Preview data sample modal | ||
| # ======================================== | ||
| recordPreviewModal: | ||
| infoTooltip: View example rows to quickly understand the table’s data |
Summary
Added initial Spanish translation for dbdiagram/dbdocs.
Changes
locales/estranslation files.locales/metadata.yaml.src/index.js.Validation
yarn.cmd build.Lasting Changes (Technical)
es) to the localization system.esMessagesin the exportedmessagesobject.Checklist
Please check directly on the box once each of these are done: