• I’ve been trying to replace some text patterns everywhere in a site (say, turning “Log in” into “Sign in”). Doing this directly is like whack-a-mole; for “Log in”, I’d need to filter wp_loginout, change wp-login.php, and likely other places.

    Since wordpress is already localized, if I could tap into the translation mechanism I could replace every occurence of __(“Log in”) easily. Does anyone know if that’s feasible, or has anyone already done that?

The topic ‘Using translations for text replacement’ is closed to new replies.