[wp-trac] [WordPress Trac] #45425: Add a filter to the translation file location for script localisation
WordPress Trac
noreply at wordpress.org
Thu Dec 13 09:01:28 UTC 2018
#45425: Add a filter to the translation file location for script localisation
--------------------------+-------------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0.2
Component: I18N | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Comment (by swissspidy):
@dimadin Correct, because of plural forms we cannot do this on the PHP
side. That's one of the reasons we have this new JS functionality in the
first place.
Instead, I suggested filters for these on the JS side in
https://github.com/WordPress/gutenberg/pull/12517
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45425#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list