Guest Posted March 16, 2010 Posted March 16, 2010 When a person opens their account on our new site, the breadcrumb points to "Mes Enchères" instead of the English "My Account". In includes/languages/english/account.php the "define('NAVBAR_TITLE', 'My Account');" is obviously in English as is the case in all other account_files.php. Does anyone have any idea how this is possible? Thanks, Gerald.
MrPhil Posted March 16, 2010 Posted March 16, 2010 "Mes Enchères" translates as "My Auctions", rather than "My Account" ("Mon compte", according to WordMonkey). I don't know what's in the French language pack -- presumably you have it installed? Do you have any auction-related add-ons? Maybe something with a hardcoded French language instead of English (or using $language)? Otherwise, if NAVBAR_TITLE is properly defined in includes/languages/english/account.php, I'm not sure where it would be picking it up, unless code has been modified improperly. The only other choice is that $language is wrong and you're picking up the French strings instead of English. At this point, is the user's choice of language to use in force, or are you still using the default (English?) language?
Guest Posted March 16, 2010 Posted March 16, 2010 Bingo! I shouldn't have relied on my weak French. We do have an auction module and "Mes Encheres" was listed in the auctions_info.php account. Why do you think the auctions_info.php account is displaying info in the nav bar when the account.php file is being called? Thanks much for your timely help. Gerald.
MrPhil Posted March 17, 2010 Posted March 17, 2010 Don't be too quick to praise my French! I know about a dozen words. I just dumped the phrases into WordMonkey and asked for the translation. Well, it looks like somehow your "auction" settings/text are "leaking" into your account information. Or, the user was really in auctions when they thought they were in account? You might first confirm that the account.php language file wasn't overwritten by the auction_info.php language file during the auction installation, and that no French language files have overwritten English. Check in filenames.php that FILENAME_ACCOUNT wasn't changed to the auction information. If you're definitely in the account page and see the auction label, all I can suggest is that you trace back through the auction.php code, looking at all the files it pulls in, and making sure that $language is correct. Somewhere in there you'll find some crossed wires.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.