Multilingual site, changes language when it should

  • Posts: 68
  • Thank you received: 0
10 years 11 months ago #162403

-- url of the page with the problem -- : mybabylonia.gr
-- HikaShop version -- : 1.5.8
-- Joomla version -- : 2.5
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,
this multilangauge site (English/Greek mybabylonia.gr), it works fine with the use of the language switcher, falang, and all is ok.
There is HikaShop installed, and there is only one litle problem.

Say you're visiting the site and you're viewing it in Greek, you add an item to cart, and you go one step further to complete your purchase.

What happens is that the hikashop purchase steps do remain in Greek, while the rest of the site is changed to English when it shouldn't be.
When you do the same thing in English there is no problem.

English is the default language.

Any ideas on what might be causing this?

Please Log in or Create an account to join the conversation.

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
10 years 11 months ago #162427

Hi,

I see everything in greek on your checkout. HikaShop pieces of the page, but also the Joomla menu, the modules, etc:
take.ms/JBZID
So unless I didn't understand what you were talking about, it seems to be working just fine.

Please Log in or Create an account to join the conversation.

  • Posts: 68
  • Thank you received: 0
10 years 11 months ago #162454

yes you are right. Up to that stage it is all ok. The next step, once you login is the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
10 years 11 months ago #162482

I see the problem, but it's only on the page after the login. If you refresh the page, it displays fine.
So it's an issue with the switch of language for the sending of the emails.
That's something which has been fixed a long time ago.
I checked your version number and I can see that you have HikaShop 1.5.8.
If you update to the latest version, you won't have that problem anymore.
Note that as this is a big update, I recommend to first test on a copy of the website and then do a backup before the update.

Please Log in or Create an account to join the conversation.

  • Posts: 68
  • Thank you received: 0
10 years 11 months ago #162580

there is no hack or a quick fix, like the code I used in joomla 2.5?:

$reu=JRequest::getVar('lang', '', 'get', 'lang');
$app->redirect('index.php?lang='.$reu);

Please Log in or Create an account to join the conversation.

  • Posts: 83993
  • Thank you received: 13605
  • MODERATOR
10 years 11 months ago #162713

The system has been fixed over several releases, 2 years ago and I don't remember what it was exactly.
The code changed a lot since then and we moved our SVN at some point and lost the SVN history we had on the changes before the move so I don't remember and can't search for it.
All I can say is that in must be something in the administrator/components/com_hikashop/classes/order.php file probably in the functions loadOrderNotification loadMailNotif loadLocale
Maybe you could compare them between our current version and what you have on your end ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum