[wp-trac] [WordPress Trac] #45530: Fallback to loaded translations when .json files with translated strings do not exist

WordPress Trac noreply at wordpress.org
Fri Dec 7 20:45:03 UTC 2018


#45530: Fallback to loaded translations when .json files with translated strings do
not exist
-------------------------+-------------------------
 Reporter:  dimadin      |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  I18N         |     Version:  5.0
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------
Changes (by ocean90):

 * status:  new => closed
 * type:  defect (bug) => enhancement
 * resolution:   => wontfix
 * severity:  major => normal
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the ticket and the patch. Not doing it like Gutenberg was done
 on purpose, see [43910]. The proposed fallback simply doesn't scale when
 loading thousands of unused translations.

 Filters will be added in #45425 and the current path issues are handled in
 #45528 and #45488. Also, tools are being build to make generating the JSON
 files easier, see https://github.com/wp-cli/i18n-command/pull/109 for
 example.

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


More information about the wp-trac mailing list