Zen Cart Logo
Forums / General Questions / How to find language file(s) for storefront error messages?

How to find language file(s) for storefront error messages?

Views: 535

Results 1 to 3 of 3
24 Apr 2012, 5:21 PM
#1
dianne avatar

dianne

Zen Follower

Join Date:
May 2007
Location:
Virginia, USA
Posts:
102
Plugin Contributions:
0

How to find language file(s) for storefront error messages?

Hello Everyone! I would like to review all the error messages that could be shown to a customer while in the storefront. I want the opportunity to tweak the language for some of them (to make them a little "friendlier").

Is there one file where I might find all the language for the error messages that get shown in the storefront?

If not, how might I go about finding error messages? I know I can use the developer's toolkit when I have seen the error language and can search to find the file. However, I am interested in error messages that exist but that I may not have triggered.

Is there a way to find them?

Thanks for anything that you can share.

Dianne

25 Apr 2012, 7:02 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,068
Plugin Contributions:
56

Re: How to find language file(s) for storefront error messages?

There's not one single file that contains all the error/warning messages that can be issued from a zen-cart store. The majority are present in /includes/languages/english.php, but there are other page-specific messages (e.g. /includes/languages/english/address_book_process.php) too. Best process is to go through each of the pages that your store uses, note which pages have forms (a submit-type button) and then look in each of the /includes/languages/english/PAGE_NAME.php to see which messages are specific to those pages.

26 Apr 2012, 4:19 AM
#3
dianne avatar

dianne

Zen Follower

Join Date:
May 2007
Location:
Virginia, USA
Posts:
102
Plugin Contributions:
0

Re: How to find language file(s) for storefront error messages?

Thank you! That's exactly what I needed...and your tip for finding more is perfect.

Thanks,
Dianne