Plenty of products support multi-lingual errors in the way John describes. In fact there's an argument that constant-based error codes are even easier to describe than verobose english descriptions, as they leave no room for ambiguity due to re-phrasing.
Daniel Lorch wrote:
hi,s/agree/disagree/ :)Daniel, Sterling is arguing in favor of having localized error messages.
Do what you think is right. However, I think it just adds another level of
unnecessary complexity. We can safely assume a certain level of intelligence
when dealing with php developers ("developers" as in "developing IN PHP").
PHP is not a application as in "Windows XP" or "Media Player", but it's a
development environment where the users necessarily has to be confronted
with a couple of error messages. For the sake of brevity, these are kept
in english and this shouldn't change, IMAO.
Developers don't have to be spoon-fed. Really.
-daniel
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php