-
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
Atomic sites are not using WordPress.com translations for Gutenberg #29309
Comments
@kwight I vaguely remember us fixing the translations for Calypsoify before. Any ideas why this might not be working for Atomic sites? |
I don't know if Atomic/Jetpack was part of all that, I think more testing is needed first to narrow down exactly what parts are involved (eg. parts of the sidebar come from different API calls). |
@akirk any ideas why this might be happening? Are there any known issues with wp-admin translations on Atomic sites? |
This seems to be a duplicate of #29244 |
I'm not sure if they are related. It looks like the issue #29244 is related to the Jetpack blocks only and it was also occurring in Simple Sites. This one is happening with all blocks and is only occurring in Atomic sites. |
It looks like this patch for Core, scheduled for 5.0.2, will resolve this: https://core.trac.wordpress.org/ticket/45528 |
See p9o2xV-cH-p2 for more details. |
When the static asset CDN of Jetpack is loaded, the translations for Gutenberg don'tt load properly because the filename is generated for a wrong path. Also fixes Automattic/wp-calypso#29309 This has been extensively discussed in https://core.trac.wordpress.org/ticket/45528 #### Changes proposed in this Pull Request: * This implements the filter that has been introduced into Core. #### Testing instructions: Prequisit: WordPress 5.0.2(alpha) or trunk 1. Set your WordPress to another language than English. 2. Activate Jetpack Static Asset CDN. 3. Potentially add a filter to your WordPress if it's running trunk (see #10102) 4. Create a new post to open Gutenberg and observe broken translations. 5. Activate the patch: Translations should now load after a reload. #### Proposed changelog entry for your changes: * Fixes loading of the Block Editor UI translations when Static Asset CDN is used (requires WordPress 5.0.2)
Got a user in chat reporting this issue in Japanese language: hc-8783842 Would someone mind taking another peek? |
@pratikawari28 The issue will be fixed once both WordPress and Jetpack are updated (WP 5.0.2 on one hand, Jetpack 6.9 on the other). While WP 5.0.2 should be released very soon, Jetpack 6.9 won't be released until January 10. If the site owner would like to apply the work-around on their site sooner, they can do so thanks to the Jetpack Beta plugin and by searching and using this PR in Jetpack > Beta once the Beta plugin is installed: |
Steps to reproduce
What I expected
If Gutenberg blocks are translated on WordPress.com translations I expected to see the interface translated like we do for Simple Sites. It's pretty weird for a user that had everything translated on their simple site and once they get their site AT'd the blocks are not translated anymore.
What happened instead
It would be great to use WordPress.com translations on Atomic sites for consistency.
Context / Source
This was reported here:
p1544532027263400-slack-gutengroup-wpcomhappy
The text was updated successfully, but these errors were encountered: