Skip to content

Conversation

MingriLingran
Copy link

@MingriLingran MingriLingran commented Jul 23, 2025

Description 📣

Added front-end Chinese translation
Enable automatic language detection

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

@maidul98
Copy link
Collaborator

maidul98 commented Jul 23, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Greptile Summary

This PR adds comprehensive Chinese (Simplified) translation support to the Infisical frontend by creating a new translation file at frontend/public/locales/zh-Hans/translations.json. The translation file contains 344 lines of carefully structured Chinese translations covering all major sections of the application including activity logs, billing, dashboard, integrations, authentication flows, navigation, settings, and signup processes.

The translation follows the exact same JSON schema and structure as existing English and French translation files, ensuring consistency in the internationalization architecture. Key features include:

  • Complete coverage of all UI sections with appropriate Chinese translations
  • Proper handling of interpolation patterns (e.g., {{title}}, {{name}}) maintaining dynamic content functionality
  • Consistent naming conventions and hierarchical organization matching existing locale files
  • Email addresses and technical terms appropriately handled within the Chinese context

This change integrates seamlessly with Infisical's existing i18n infrastructure, expanding language support to serve Chinese-speaking users without modifying any core application logic or breaking existing functionality.

Confidence score: 5/5

  • This PR is extremely safe to merge as it only adds a translation file without affecting any application logic
  • The translation file follows the established pattern and structure of existing locale files perfectly
  • No files require additional attention - this is a straightforward internationalization enhancement

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

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