[wp-trac] [WordPress Trac] #45488: wp_set_script_translations does not load md5-based PO files

WordPress Trac noreply at wordpress.org
Tue Dec 18 15:05:44 UTC 2018


#45488: wp_set_script_translations does not load md5-based PO files
-------------------------------------------------+-------------------------
 Reporter:  ettoredn                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.0.3
Component:  I18N                                 |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests close                                    |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-testing needs-unit-tests => has-patch needs-
     testing needs-unit-tests close


Comment:

 I finally got to test this with a custom plugin and
 [Traduttore](https://github.com/wearerequired/traduttore). The Traduttore
 plugin creates JSON files just like WordPress.org and it's being used
 successfully to translate some Gutenberg bloccks.

 The plugin creates JSON files with identical MD5 hashes in the file names
 as `wp i18n make-json`.

 So maybe the issues described here are indeed caused by #45528 after all.

 @ettoredn Please test WordPress 5.0.2 RC2 to see if it works for you.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45488#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list