Skip to content

Conversation

arielscarpinelli
Copy link

This PR extracts the hardcoded texts all around the app, adding them to the english translation file for reference. It also creates an spanish translations file for them.

google-labs-jules bot and others added 10 commits September 2, 2025 22:50
This commit adds the Spanish translation file and translates it.
The file is a copy of the English translation file, and the values have been translated to Spanish.
The translation was done by an AI and should be reviewed by a native speaker.
This commit refactors a significant number of components to use the i18n library (react-i18next) instead of hardcoded strings. This is part of a larger effort to make the application fully translatable.

The following components have been refactored:
- components/ui/advanced-settings.tsx
- components/messages/message-replies.tsx
- components/sidebar/items/all/sidebar-update-item.tsx
- components/utility/profile-settings.tsx
- components/chat/chat-retrieval-settings.tsx
- components/sidebar/items/models/create-model.tsx
- components/sidebar/items/models/model-item.tsx
- components/utility/command-k.tsx
- app/[locale]/help/page.tsx
- app/[locale]/page.tsx
- components/chat/chat-files-display.tsx
- components/chat/chat-secondary-buttons.tsx
- components/chat/prompt-picker.tsx
- components/chat/quick-settings.tsx
- components/utility/workspace-switcher.tsx
- components/workspace/delete-workspace.tsx
- components/workspace/workspace-settings.tsx
- components/models/model-icon.tsx
- components/chat/quick-setting-option.tsx

The corresponding keys have been added to the English and Spanish translation files (`public/locales/en/translation.json` and `public/locales/es/translation.json`).
This commit refactors all components to use the i18n library (react-i18next) instead of hardcoded strings. This is part of a larger effort to make the application fully translatable.

The following components have been refactored:
- components/ui/advanced-settings.tsx
- components/messages/message-replies.tsx
- components/sidebar/items/all/sidebar-update-item.tsx
- components/utility/profile-settings.tsx
- components/chat/chat-retrieval-settings.tsx
- components/sidebar/items/models/create-model.tsx
- components/sidebar/items/models/model-item.tsx
- components/utility/command-k.tsx
- app/[locale]/help/page.tsx
- app/[locale]/page.tsx
- components/chat/chat-files-display.tsx
- components/chat/chat-secondary-buttons.tsx
- components/chat/prompt-picker.tsx
- components/chat/quick-settings.tsx
- components/utility/workspace-switcher.tsx
- components/workspace/delete-workspace.tsx
- components/workspace/workspace-settings.tsx
- components/models/model-icon.tsx
- components/chat/quick-setting-option.tsx
- components/sidebar/items/chat/chat-item.tsx
- components/ui/file-preview.tsx
- components/ui/image-picker.tsx
- components/sidebar/items/collections/create-collection.tsx

The corresponding keys have been added to the English and Spanish translation files (`public/locales/en/translation.json` and `public/locales/es/translation.json`).
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