Sorry if I wasn’t clear. What I mean is the “hard coded” text within the plugin itself. For example, to localize text (prep for translation) within the plugin code itself, you’d do the following.
This line:
<span class="textFoster-injured foster-tag-text">Injured</span>
Would be this:
<span class="textFoster-injured foster-tag-text"><?php _e('Injured','textdomain'); ?></span>
So the text “injured” can be translated into a different language like Spanish.