Hello. I have set up and running 2 Zen Cart stores and ran into a strange problem.
I used "@setlocale(LC_TIME, 'fr_CA.utf8');" in my CUSTOM french.php file located under "languages/custom" folder. My month names that had accents would appear with accents replaced with a black "?" symbol (ie: f?vrier instead of février).
After many hours of debugging, it turned out that Zen Cart seamed to pull @setlocale(LC_TIME,'fr_FR.ISO_8859-1'); from my ORIGINAL french.php located in languages folder.But the rest of my configuration from my custom folder.
Simply setting "@setlocale(LC_TIME, 'fr_CA.utf8');" in my ORIGINAL file in languages folder corrected the problem.
We are not supposed to modifying a core file like that from what I read. Anyone know why Zen Cart is pulling only that setting from the original core file instead of from my custom file?
Thanks!


But the rest of my configuration from my custom folder.
Reply With Quote
