4

I'd like to make some of EE's built-in error messages more helpful to one site's users. And I know I can change these messages in EE system language files like system/expressionengine/language/english/myaccount_lang.php.

But since these files are part of the EE system (not 3rd party), what's the best way to maintain these changes so that they don't get overridden on EE updates, etc.?


For some context, these particular users are having some trouble understanding how to respond to error messages like The email you chose is not available (an error that appears on registration). And, we're looking at a lot of things on the site other than EE system messages to prevent confusion / help site users.

But, as one small part of the overall strategy, we'd like to change some of these EE error messages.

Have you done this on any of your sites? How did you maintain these changes over time?

Or, if you have an alternative approach in EE (template-based? add-on-based?) that allows you bypass or override the EE system language files, I'd be interested in hearing about that too.

1 Answer 1

1

There's always the Custom System Messages addon - http://devot-ee.com/add-ons/custom-system-messages - which allows you to run things like error messages through regular templates. That way EE upgrades don't affect the message text.

1
  • 1
    Thanks @Bluedreamer -- I do use Custom System Messages, and I consider it essential for creating custom EE error pages. But the EE error message language shows up on inline errors, as well, which CSM doesn't address. Plus, in general, EE error "actions" aren't granular enough where I can use CSM to solve everything and still show detailed messages. E.g., With CSM, I can create a custom page for Registration Form errors, but there actually are several different errors that might land a user on that error page. And the only way to distinguish those errors is via the EE error messages.
    – Jay F
    Commented Jan 20, 2014 at 21:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.