[wp-trac] [WordPress Trac] #62155: [WP 6.7 beta1] Block editor translation issue in sub-directory enabled Multisites

WordPress Trac noreply at wordpress.org
Wed Oct 2 08:55:16 UTC 2024


#62155: [WP 6.7 beta1] Block editor translation issue in sub-directory enabled
Multisites
--------------------------+-----------------------------
 Reporter:  them.es       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 This is a regression as rolling back to the latest stable version fixes
 the issue.

 1. Make sure to test on a Multisite with sub-directories: e.g. (A)
 localhost (B) localhost/test
 2. Change the site languages on both instances to "de_DE" (or any other
 non-english locale)
 3. Upgrade to **WordPress 6.7 beta1**
 4. Install WooCommerce (both instances) - however, this issue can also be
 reproduced in other plugins as well
 5. Insert the "Single Product" block in the block editor (both instances):

 {{{
 <!-- wp:woocommerce/single-product -->
 <div class="wp-block-woocommerce-single-product"></div>
 <!-- /wp:woocommerce/single-product -->
 }}}
 6. Notice that on the main site "A" the block gets fully translated to
 German as expected: {{{Suche nach einem Produkt, das angezeigt werden
 soll}}} and {{{Fertig}}}.
 7. Sub site "B" displays the block controls in English: {{{Search for a
 product to display}}} and {{{Done}}}. General labels and descriptions
 (probably coming from {{{block.json}}}?) are translated though.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62155>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list