Hi,
So I tested on my end and it's working fine.
I then also tested on your end and that is working fine too.
Here you can edit the test_hikashop user's frontend language:
www.entrostud.com/shop/administrator/ind...r&layout=edit&id=848
Here you can change the status of the order to send the status notification:
www.entrostud.com/shop/administrator/ind...=order&task=edit&cid
[]=146
You can see that if you set the language of the user to Finish, the status notification will be in Finish and if you set the language of the user to English the status notification will be in English.
So the language of the notification is automatically in the language of the user regardless of the language of the administrator. However, if there is no language set for the user's preferences, that will use automatically the language of the administrator interface.
So the issue is actually not that HikaShop doesn't use the language of the user but that the language of the user is not set during the registration.
For joomla, they came up with an option to add a language selector on the registration form:
joomlacode.org/gf/project/joomla/tracker...racker_item_id=26717
I'm not really found of that for the registration form on the checkout. I would prefer to force the language directly based on the current language.
To do that, you will need to add the code:
if(HIKASHOP_J25){
$config = JFactory::getConfig();
if(HIKASHOP_J30){
$locale = $config->get('language');
}else{
$locale = $config->getValue('config.language');
}
$data['params']=array('site_language'=>$locale);
}
after the code:
if(HIKASHOP_J16){
$data['groups']=array($newUsertype=>$newUsertype);
}
in administrator/components/com_hikashop/classes/user.php