[wp-trac] [WordPress Trac] #50732: Block Directory: Support installing blocks in languages other than English
WordPress Trac
noreply at wordpress.org
Wed Jul 22 00:23:23 UTC 2020
#50732: Block Directory: Support installing blocks in languages other than English
--------------------------+-----------------------------
Reporter: ryelle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Currently, the block directory does not respect the site's locale when
adding new blocks.
1. Use a language other than English (Spanish works for this example)
2. Search for a block with a Spanish translation (ex,
[https://es.wordpress.org/plugins/simple-iframe/ Simple iframe])
3. Everything so far is using Spanish translations ✅
4. Click Add Block
5. The block is added, but the placeholder & controls are all in English
Reloading the page shows the content correctly translated in Spanish, the
issue is that the Block Directory is not loading in the translation data
through `setLocaleData`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50732>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list