Hello,
I am using the sermepa payment module and my costumers end up in the Spanish version of the payment site. I asked the support about how to make this multilingual and they say that they will show my costumers which ever language I choose in the 'Ds_Merchant_ConsumerLanguage' parameter, I can select between "001" (spanish), "002" english and more... but only one parameter can be set in the PHP file (row 104 if you look in the module):
I tried to put "001, 002" for example (u never know right?) but it didn't workPHP Code:$ds_merchant_consumerlanguage = "001";
.
My problem is that this parameter is in the PHP file 'includes\modules\payment\sermepa.php' and since I'm new to this whole Zen Cart thing, I wish to ask how to put two of these parameters in my site's Spanish-English folders, so costumers checkout in their own language.
The guy who wrote the module also put this:
I think this was an attempt to make this work via the module... but it doesn't, at least not for me...PHP Code:if ($language=='english')
{
$ds_merchant_consumerlanguage='002';
}
elseif ($language=='catala')
{
$ds_merchant_consumerlanguage='003';
}
Thanks for any help,![]()


.
Reply With Quote
