Skip to content

Conversation

adamantike
Copy link
Contributor

Description
md-editor-v3 defaults to Simplified Chinese for MdEditor and MdPreview components. This change explicitly sets the language to English (en-US) for all instances of these components.

Ideally, this should take the user's language preference into account, and a common component can be created to avoid forgetting to set common settings on new instances.

Checklist

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

`md-editor-v3` defaults to Simplified Chinese for `MdEditor` and
`MdPreview` components. This change explicitly sets the language to
English (`en-US`) for all instances of these components.

Ideally, this should take the user's language preference into account,
and a common component can be created to avoid forgetting to set common
settings on new instances.
@adamantike adamantike requested review from gantoine and zurdi15 June 28, 2025 17:34
Copy link

trunk-io bot commented Jun 28, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

Copy link
Member

@gantoine gantoine left a comment

Choose a reason for hiding this comment

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

good start

@adamantike adamantike merged commit a1970fa into master Jun 28, 2025
8 checks passed
@adamantike adamantike deleted the misc/specify-language-all-md-blocks branch June 28, 2025 22:45
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