[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 12:06:55 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 strategio):

 Hi,

 Having filters on the JS side (as suggested by @swissspidy and @dimadin)
 does not exclude having filters in PHP.

 We have extended our solution to translate JS strings by overriding the
 JED files, and we will rely on the new filters added here (mostly
 `load_script_textdomain_file`). Could we have a confirmation that it will
 be included?

 Thanks!

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


More information about the wp-trac mailing list