-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Comments Block: Trims comment text when site language is set to Chinese #50365
Comments
This is the "Latest Comments" block from core Gutenberg. It's actually working as expected, but perhaps it can be argued that "as expected" is confusing. The block only shows an excerpt from each comment, as can be seen in the block settings. The way a excerpt is calculated depends on the language, but in general it's the first 20 words (see
|
While it's working as expected I thought of a few points
|
@autumnfjeld I'm taking a look at a fix for (3) |
Proposed fix for (3) in WordPress/gutenberg#33944 |
@otpidusprime what do you think about leaving this aspect of the issue up to translators. If the current truncation length is set to 20 it presumably means a Chinese speaking person at some point or other has decided that this is an acceptable truncation length. And I'm certainly ill equiped to advocate for this change in the core translations 🙂 |
I've merged the fix for the difference between editor preview and frontend WordPress/gutenberg#33944 |
@p-jackson This can be moved to Done, ya? |
@autumnfjeld No doesn't look like we can link PRs in different organisations, but I wouldn't have linked these two anyway. The PR fixes one issue, but doesn't solve the original problem that it was unexpected for the text to be truncated, even though it's by design. We could still make a decision that we're not going to address that though. Also, Kathy set up a system where issues wouldn't close until they were in production. Instead issues that were waiting for a deploy get the |
Fix will ship in Gutenberg 11.4 |
11.4.1 has been deployed to WordPress.com, however the fix doesn't seem to be working. I think it's something to do with the |
Working on fix to wpcom API D66501-code |
Steps to reproduce the behavior
zh-cn
,zh-hk
orzh-tw
zh-cn
,zh-hk
orzh-tw
:Context
Reported by a user: 25882904-hc
Browser / OS version
Vivaldi 3.6.2165.36 (Stable channel) (x86_64) / Mac OS Big Sur 11.0.1
Does this happen on simple or atomic sites or both?
Yes, happens on both.
Is there any console output or error text?
Level of impact (Does it block purchases? Does it affect more than just one site?)
Medium
Reproducibility (Consistent, Intermittent) Leave empty for consistent.
Consistent
Screenshot / Video: If applicable, add screenshots to help explain your problem.
Same as above:
The text was updated successfully, but these errors were encountered: