You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not all editor text is translated
Some of the text in the sidebar and top buttons is translated and some of it is not. And the prompt to "Start writing" is translated on a new post and not on an old post.
To Reproduce
Using WP 4.9.8 and GB 4.5.1
Activate the Pig Latin plugin
Open the editor
See some text is mangled by the plugin, but some text (in sidebar and buttons) is not and should be.
Expected behavior
All text that is output by the editor should be affected by the Pig Latin plugin, although since it is done in javascript, I actually expected that none would be affected. This also brings up the question of whether a PHP plugin like Pig Latin will be able to filter translations for javascript in the new scheme.
Screenshots
The text was updated successfully, but these errors were encountered:
Yeah the Pig Latin plugin just doesn‘t support the new JavaScript internationalization functionality in WordPress. Mainly because there‘s no way to override these right now. So it actually can‘t do anything.
The few changed strings you see in the sidebar are all post type and taxonomy labels coming from PHP. That‘s all as expected.
The only question this raises IMO is whether we should add some JS I18N filters to allow overriding strings.
Not all editor text is translated
Some of the text in the sidebar and top buttons is translated and some of it is not. And the prompt to "Start writing" is translated on a new post and not on an old post.
To Reproduce
Expected behavior
All text that is output by the editor should be affected by the Pig Latin plugin, although since it is done in javascript, I actually expected that none would be affected. This also brings up the question of whether a PHP plugin like Pig Latin will be able to filter translations for javascript in the new scheme.
Screenshots
The text was updated successfully, but these errors were encountered: