Skip to content

Conversation

@YASHRDX0001
Copy link

This PR adds full Chinese Simplified (zh-CN) language support to DrawDB, providing a complete and accurate translation for users across China and other Chinese-speaking regions.

All strings have been translated following DrawDB’s established i18n structure and match the completeness and consistency of other supported languages.

What's Included

1. New Language Support

  • Added zh-cn.js locale file
  • Added language entry to i18n.js
  • Registered in both the languages array and the resources object

2. Translation Quality & Structure

  • All interpolation placeholders preserved

    • e.g., {{tableName}}, {{fieldName}}, {{typeName}}, {{refName}}, etc.
  • Structure exactly mirrors the English source file

  • Terminology kept consistent across:

    • Core menus & actions (file, edit, view, help)
    • Tables, relationships, enums, notes, subject areas
    • Validation messages, dialogs, and warnings
    • DBML view, multiselect, and bulk operations
    • Sharing, export, import, timeline, tasks, and version history
  • Ensures the language appears in the UI and loads correctly

3. Language Details

  • Name: Chinese (Simplified)
  • Native Name: 简体中文
  • Code: zh-CN
  • Speakers: ~1 billion (China, Singapore, Malaysia, and Chinese-speaking communities worldwide)

Testing

  • Verified all keys and placeholders are correctly translated
  • Confirmed structure matches other locale files
  • No syntax errors in JavaScript files
  • Build runs without issues

Why Chinese?

Chinese (Simplified) is one of the most widely spoken languages in the world, with over a billion native speakers and a rapidly growing developer community. Adding Chinese language support makes DrawDB more accessible to engineers, students, and database designers across China and other Chinese-speaking regions, expanding its usability in one of the largest and most influential tech ecosystems globally.

@vercel
Copy link

vercel bot commented Dec 4, 2025

@YASHRDX0001 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@1ilit 1ilit left a comment

Choose a reason for hiding this comment

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

zh is zh-cn

@1ilit 1ilit closed this Dec 5, 2025
@YASHRDX0001
Copy link
Author

Ohh.. I saw that now. Sorry for that.

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