You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "shorten" action requires that a paragraph contain more than 5 words. However, CJK languages like Japanese and Chinese do not use spaces between words. Consequently, this feature cannot be utilized even with sufficient content.
We should adopt a locale-aware approach rather than hard-coding the words. So, as the word count type, we should use the translated text.
Description
Similar to #571
The "shorten" action requires that a paragraph contain more than 5 words. However, CJK languages like Japanese and Chinese do not use spaces between words. Consequently, this feature cannot be utilized even with sufficient content.
We should adopt a locale-aware approach rather than hard-coding the words. So, as the word count type, we should use the translated text.
https://github.com/WordPress/gutenberg/blob/1ecc3d2fe9c819af35ef312563805bc16a103036/packages/block-library/src/post-time-to-read/edit.js#L51-L61
ai/src/experiments/content-classification/components/SuggestionPanel.tsx
Line 77 in 396fcc3
Step-by-step reproduction instructions
あああああああああああScreenshots, screen recording, code snippet
Recording.2026-05-19.182908.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.