WordPress.org

Make WordPress Core

Opened 7 weeks ago

#53097 new defect (bug)

Registering scripts trough block.json dosn't load translation files inside plugins

Reported by: walbo Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: I18N Keywords:
Focuses: Cc:

Description

When registering scripts with block.json and adding a textdomain WordPress only checks for translations in the WP_LANG_DIR folder.

This means that blocks will not pick up translations from plugins that have a /language folder with translations.

Should block.json have a domain path option or pick up Domain path from the plugin comment?

Change History (0)

Note: See TracTickets for help on using tickets.