Dashboard and Site Language only partially translated (in own theme)
Finally I found the issue! The following filter was causing the theme to only translate partially: function howdy_message($translated_text, $text, $domain) { $new_message = str_replace(‘Howdy’, ‘Aloha’, $text); return $new_message; } add_filter(‘gettext’, ‘howdy_message’, 10, 3); I replaced it with the following that now works: function howdy_message($translated, $text, $domain) { if (false !== strpos($text, ‘Howdy’)) return str_replace(‘Howdy’, ‘Aloha’, … Read more