views_get_view in combination with i18nviews only translates part of header I'm using the following code to get a view and render it

  $view = views_get_view('viewname');
  $view-&gt;set_display('page');

  $view-&gt;set_arguments(array($type));

  $view-&gt;pre_execute();
  $view-&gt;execute();

  return $view-&gt;render();


Works great but some fields of the exposed filters and the header are not getting translated. I'm using the i18nviews modules. 

Any ideas?

Thanks
Using the following code triggers i18nviews correctly:

$view = views_get_view('viewname');
$view-&gt;set_display('page', array($type));