Tag Info

New answers tagged


You need to check your mysql database charset and website charset. They should be same - utf8.


Looking at the source, there is no programmatic way to accomplish that. There is only one location where $_GET['rtl'] is referenced and its value is used directly (i.e., it is not used to set the value of another variable used in the plugin). The function you would want to modify if you want the same effect without passing the rtl parameter is function ...


Use plugin_locale filter: apply_filters( 'plugin_locale', $locale, $domain ); Change locale like this: $my_plugin_domain = 'my_plugin_domain_name'; $override_locale = 'es-ES'; add_filter('plugin_locale', function ($locale, $domain) use ($my_plugin_domain, $override_locale) { if($domain == $my_plugin_domain) { $locale = ...

Top 50 recent answers are included