-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
Internationalization (i18n)Issues or PRs related to internationalization effortsIssues or PRs related to internationalization efforts[Package] Word count/packages/wordcount/packages/wordcount[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Describe the bug
When writing a post in Chinese the word count shown in the content structure does not show an accurate word count.
To Reproduce
Steps to reproduce the behavior:
- Use http://generator.lorem-ipsum.info/_chinese to generate some sample Chinese text
- Create new page in Gutenberg
- Paste in content
- Click the info icon at the top
- See an incorrect word count
Expected behavior
When using the same content in word processor like Pages the word count is significantly larger than the one shown in Gutenberg. The expected behavior would be to have an accurate word count independent of the language used.
Screenshots
You can see a large amount of content but it is showing only 10 words
Desktop (please complete the following information):
- OS: MacOS 10.14.2
- Browser: Firefox
- Version> 64
Metadata
Metadata
Assignees
Labels
Internationalization (i18n)Issues or PRs related to internationalization effortsIssues or PRs related to internationalization efforts[Package] Word count/packages/wordcount/packages/wordcount[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended