Opened 5 years ago
Last modified 5 years ago
#5132 new defect (bug)
Use of reusable blocks is inconvenient for translation
Reported by: | jdy68 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | HelpHub (wordpress.org/documentation) | Keywords: | |
Cc: |
Description
Hi,
I'm involved in the translation of HelpHub for the fr_FR locale and I noticed the following problem: in several articles, blocks are indicated as "has been deleted or unavailable". To be able to translate the missing content, we need to display the source version of wordpress.org, which makes the task more complex. These are reusable blocks that are not migrated into the locales, so please transform these reusable blocks into regular blocks in the relevant source posts. See the example of https://wordpress.org/support/article/rss-block/ where 5 blocks are missing because of this use of reusable blocks (not converted to regular).
Thank you for taking this problem into account.
Attachments (2)
Change History (12)
This ticket was mentioned in Slack in #docs by jdy68. View the logs.
5 years ago
This ticket was mentioned in Slack in #docs by bph. View the logs.
5 years ago
#3
@
5 years ago
I just attached two .json files of the reusable blocks from the Original post.
In post_content they show up like this:
<!-- wp:block {"ref":12167847} /-->
(links back to Blocks)
or this:
<!-- wp:block {"ref":11286065} /-->
(Block Settings Advanced)
I am not at all familiar with the process, that pushes articles to the local pages. Maybe there is a chance that the content in reusable blocks can also be automatically be added to the other language version.
This ticket was mentioned in Slack in #docs by bph. View the logs.
5 years ago
#5
@
5 years ago
Reminds me of: issue 17764 Provide a simple way to add fallback content for RSS or E-mail view
https://github.com/WordPress/gutenberg/issues/17764
And should consider export also. Not sure how the locales are copied...
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
5 years ago
This ticket was mentioned in Slack in #meta by jdy68. View the logs.
5 years ago
This ticket was mentioned in Slack in #docs by bph. View the logs.
5 years ago
#9
@
5 years ago
Hello,
Just adding some thoughts I shared in todays Documentation team meeting:
Basically, Reusable Blockss are a dedicated post type and they are identified by their ID in post_content
, so when they get imported, IDs don’t match anymore.
#10
@
5 years ago
This is probably something we can fix in the importer plugin, see https://github.com/WordPress/wordpress-importer/issues/44.
Reusable Block: Link back to Blocks page