Localizing strings that come from outside of plugin?
Should such messages be localized at all or are they out of scope for localization? Yes, they should be localized … but don’t depend on the text returned by the API. Does something like __( $message ); even make sense? Not really. First of all, you’re not providing a text domain for the string to … Read more