WordPress.org

Making WordPress.org

Opened 2 months ago

Last modified 7 weeks ago

#5132 new defect

Use of reusable blocks is inconvenient for translation

Reported by: jdy68 Owned by:
Milestone: Priority: normal
Component: HelpHub 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 2 months ago.
Reusable Block: Link back to Blocks page
block-settings-gt-advanced.json (1.1 KB) - added by bph 2 months 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.


2 months ago

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


2 months ago

@bph
2 months ago

Reusable Block: Link back to Blocks page

@bph
2 months ago

Reusable Block: Block Settings (Advanced Tab)

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


2 months ago

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


8 weeks ago

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


8 weeks ago

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


7 weeks ago

#9 @audrasjb
7 weeks 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
7 weeks 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.