Make label translatable in Global: Custom Text field I'm using Drupal 7 and I have a Global: Custom Text in my view

&lt;div class="myclass"&gt;
  &lt;h3&gt;Label&lt;/h3&gt;
  &lt;div class="title"&gt;[title]&lt;/div&gt;
  &lt;div class="category"&gt;[category]&lt;/div&gt; 
&lt;/div&gt;


When I try to translate the 'Label' from 

`Configuration » Regional and language » Translate interface` 


I get an error 'The submitted string contains disallowed HTML'.
That is because the label is wrapped in a div. I could add the div in include/locale.inc in the function

`locale_string_is_safe($string)`


but I don't think is a good idea to edit the Drupal core.

Do you have any better solution?
Use hook_views_pre_view and set your global header programmatically.
E.g.

$view-&gt;set_item_option($view-&gt;current_display, 'header', 'area_text_custom', 'content', $header);