Changes between Initial Version and Version 1 of Ticket #7663, comment 1
- Timestamp:
- 01/19/2018 10:04:57 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7663, comment 1
initial v1 3 3 I 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. 4 4 5 I think this quite topical at the moment, because obviousWordPress' 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.5 I 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. 6 6 7 7 See #WP10237 and #WP32067, and the myriad of linked tickets from those (#WP39941, and so on).