Re: Charts legend not translated
You can fix it with this patch:
for ex for OpportunitiesByLeadSourceByOutcomeDashlet.php
Open it and after the string
$sugarChart->getData($this->constuctQuery());
add this code:
//BOF SYNOLIA
global $current_language;
$app_list_strings = return_app_list_strings_language($current_language );
for($i = 0; $i<count($sugarChart->data_set); $i++){
$sugarChart->data_set[$i]['lead_source'] = $app_list_strings['lead_source_dom'][$sugarChart->data_set[$i]['lead_source']];
$sugarChart->data_set[$i]['sales_stage'] = $app_list_strings['sales_stage_dom'][$sugarChart->data_set[$i]['sales_stage']];
}
//EOF SYNOLIA
Dont forget to clean xml caches
It will this the pb for Opportunities By Lead Source By Outcome Dashlet
Do the same logic with all the other chart that cause pb
--------------------
Xavier Rigal
Bookmarks