Skip to content

feat: Spanish Language#372

Merged
nekomeowww merged 3 commits intomoeru-ai:mainfrom
dm94:feat/spanish
Aug 21, 2025
Merged

feat: Spanish Language#372
nekomeowww merged 3 commits intomoeru-ai:mainfrom
dm94:feat/spanish

Conversation

@dm94
Copy link
Contributor

@dm94 dm94 commented Aug 20, 2025

Description

  • Add Spanish locale files for docs, tamagotchi, and base translations
  • Include Spanish language remapping in i18n modules
  • Update package.json to support Spanish locale imports

dm94 added 2 commits August 20, 2025 23:51
- Add Spanish locale files for docs, tamagotchi, and base translations
- Include Spanish language remapping in i18n modules
- Update package.json to support Spanish locale imports
Add Spanish ('es') language support to both English and Simplified Chinese locale files
@netlify
Copy link

netlify bot commented Aug 20, 2025

Deploy Preview for airi-docs ready!

Name Link
🔨 Latest commit 284937e
🔍 Latest deploy log https://app.netlify.com/projects/airi-docs/deploys/68a645068a51140008cdedcd
😎 Deploy Preview https://deploy-preview-372--airi-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Aug 20, 2025

Deploy Preview for airi-vtuber ready!

Name Link
🔨 Latest commit 284937e
🔍 Latest deploy log https://app.netlify.com/projects/airi-vtuber/deploys/68a645064a2d7e000897d0cd
😎 Deploy Preview https://deploy-preview-372--airi-vtuber.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @dm94, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces comprehensive support for the Spanish language across the application. It involves adding new Spanish locale files for various components, updating internationalization modules to correctly handle Spanish regional variations, and configuring the package manifest to ensure proper loading of the new language assets. This enhancement allows users to experience the application's interface in Spanish, significantly improving accessibility for a broader audience.

Highlights

  • New Spanish Locale Files: New locale files for Spanish have been added across various parts of the application, including base translations, documentation, and Tamagotchi-specific interfaces.
  • i18n Module Updates: The internationalization (i18n) modules in both stage-tamagotchi and stage-web applications have been updated to correctly remap regional Spanish locales (e.g., 'es-ES', 'es-MX', 'es-AR') to a generic 'es' for consistent language handling.
  • Package Configuration Update: The package.json file within the i18n package has been modified to include the necessary export map for the new Spanish locale, ensuring it can be properly imported and utilized throughout the project.
  • Language Option Addition: The language settings in both English and Simplified Chinese locale files have been updated to include 'Spanish' as an available language option, making it selectable in the user interface.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully adds Spanish language support to the application. The changes include new locale files, updates to i18n modules to handle Spanish locales, and modifications to package.json for proper module resolution. The implementation is straightforward.

I've identified one untranslated string in the new Spanish locale files and also noticed an opportunity to improve maintainability by refactoring duplicated code for language remapping. Please see my detailed comments.

The previous translation "Select a audio input" was incorrect and has been updated to the proper Spanish phrase "Selecciona una entrada de audio"
Copy link
Member

@nekomeowww nekomeowww left a comment

Choose a reason for hiding this comment

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

Thanks for translating and learn the way we structure the i18n modules. Let me add to Crowdin as well. cc @typed-sigterm

@nekomeowww nekomeowww merged commit 713ff0c into moeru-ai:main Aug 21, 2025
8 checks passed
@dm94 dm94 deleted the feat/spanish branch August 21, 2025 06:52
Disqort pushed a commit to Disqort/airi that referenced this pull request Aug 29, 2025
lucas-oma pushed a commit to lucas-oma/airi that referenced this pull request Sep 7, 2025
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