Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change Moneybookers default language


TonyBateman

Recommended Posts

Ok, I installed the corrected module for Moneybookers and it looks a little better but it now defaults to Italian! After searching high and low I can't find anything that will change it, not on the moneybookers site or on my oscommerce site.

 

So I uninstall and re-install the official moneybookers module, now it is at least in English instead of Italian! But I want it to default to Finnish not English so I email Moneybookers. I get this response back:

 

"Our reason for contacting you is in connection to the recent difficulties you have experienced, specifically with the default language of our gateway.

 

Further to this matter, we would like to kindly ask that you manually change the language of your OS Commerce shopping cart to English/Suomi by performing the following:

Log in to your OSC admin panel >> Localization >> Languages >> Edit >> and Replace ‘IT’ to ‘EN’/'FI' within the field named ‘Code’."

 

I don't even have the italian language installed and my codes are correct "en" for english "fi" for suomi/finnish so this is absolutely useless information. But one thing it did confirm is that Moneybookers do not set the language, it is based on our site. So I go through every single Moneybookers PHP scrip line by line looking for a clue, eventually I find the answer;

 

In file: /public_html/includes/modules/payment/moneybookers/moneybookers_payment.php on line 258 you will find this code:

 

		$table = array(
		//Merchant
		'pay_to_email' => $this->_mainGet('EMAIL'),
		'recipient_description' => STORE_NAME,
		'transaction_id' => $idMb,
		'language' => 'En', //FIXME

 

Change the En to whatever language code you want your Moneybookers payment pages to default to. Job done.

 

What is interesting is the //FIXME comment - That is not my comment!! That is Moneybookers comment, so they are clearly aware of this problem that the language on the payment pages do not default to the language on the oscommerce site!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...