Will it downgrade performance significantly (or exhaust the server with http requests), or maybe ill advised, to do something like this
echo "<span>enter_username_message</span>";
and centralize this constant along with all output messages in one file, so that those could be changed without getting into the code:
define('enter_username_message','username please');
that way, if someone were viewing the website in its spanish version, I could simply direct php to require all those output-message constants from a spanish file.
define('enter_username_message','username por favor');
what do you think?