Im attempting to translate a textual content on following web page and questioning the best way to change this textual content if the textual content isn’t localiseable?
add_filter('gettext', 'translate_reply');
add_filter('ngettext', 'translate_reply');
perform translate_reply($translated) {
$translated = str_ireplace('REGISTER', 'REGISTRIEREN', $translated);
$translated = str_ireplace('Misplaced your Passwort?', 'Passwort vergessen?', $translated);
return $translated;
}