Translations in plugins
-
Today I was in a French sites – with language set to French.
To make my life easier I switched my USER language to English.Most admin was displayed in English but a couple of plugins had some items remaining in French such as the menu page titles.
add_menu_page( esc_html__( 'Registration', 'valid-text-domain' ), esc_html__( 'Registration', 'valid-text-domain' ), 'capability', '/xxx-xxx', function () { require_once( 'xyz.php' ); }, 'dashicons-id' );
So the recap – translation in admin works fully when the site language is changed, but only works partially when the user language is changed.
This happens on some plugins but not all so likely to be a hook / sequence issue.
Any ideas?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Translations in plugins’ is closed to new replies.