Making WordPress.org

Opened 4 years ago

Last modified 4 years ago

#5132 new defect (bug)

Use of reusable blocks is inconvenient for translation

Reported by: jdy68's profile 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)

link-back-to-blocks.json (335 bytes) - added by bph 4 years ago.
Reusable Block: Link back to Blocks page
block-settings-gt-advanced.json (1.1 KB) - added by bph 4 years ago.
Reusable Block: Block Settings (Advanced Tab)

Download all attachments as: .zip

Change History (12)

This ticket was mentioned in Slack in #docs by jdy68. View the logs.


4 years ago

This ticket was mentioned in Slack in #docs by bph. View the logs.


4 years ago

@bph
4 years ago

Reusable Block: Link back to Blocks page

@bph
4 years ago

Reusable Block: Block Settings (Advanced Tab)

#3 @bph
4 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.


4 years ago

#5 @joyously
4 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.


4 years ago

This ticket was mentioned in Slack in #meta by jdy68. View the logs.


4 years ago

This ticket was mentioned in Slack in #docs by bph. View the logs.


4 years ago

#9 @audrasjb
4 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 @ocean90
4 years ago

This is probably something we can fix in the importer plugin, see https://github.com/WordPress/wordpress-importer/issues/44.

Note: See TracTickets for help on using tickets.