Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7663, comment 1


Ignore:
Timestamp:
01/19/2018 10:04:57 AM (7 years ago)
Author:
DJPaul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7663, comment 1

    initial v1  
    33I can't talk for all instances, but for these two, they are dynamic variables which handle translations for UI elements. This means we can't put them into a JS file. Both come from use of WordPress' `wp_localize_script()` function, which means you're going to have the same problem with parts of WordPress.
    44
    5 I think this quite topical at the moment, because obvious WordPress' Gutenberg feature requires translated strings, and I know there's work going into WordPress to improve and perhaps change how JS translations and other dynamic strings (nonces, etc) are handled.
     5I think this quite topical at the moment, because WordPress' Gutenberg feature requires translated strings, and I know there's work going into WordPress to improve and perhaps change how JS translations and other dynamic strings (nonces, etc) are handled.
    66
    77See #WP10237 and #WP32067, and the myriad of linked tickets from those (#WP39941, and so on).