Hello, I found a solution for this issue.
It's not a bug, but compatibility issue with soap api synchronizator.
When soap access to the back end of Taxibooking the variable $_REQUEST['active_lang'] is empty, so the system selects default English translation in this case.
The solution is:
in booking.helper.php
in function :
public static function update_order_status()
under this line: $lang->load('com_taxibooking', JPATH_BASE, $lang_tag, false);
add this code:
function changeBaseUrl()
{
$base = JURI::root();
$base = preg_replace("/administrator\/components\/com_virtuemart_erp\/services\//", "", $base);
return $base;
}
$base_url = changeBaseUrl();
// aramis set active lang for email template payment_method label translation
if (!isset($_REQUEST['active_lang'])){
$_REQUEST['active_lang'] = $lang_tag;
}
Serge.