2

In a view, i have filter content using "Language". it works fine. i have added "header" contain HTML syntax (which will be shown with top of view) like:
<div class="xyz">Text need to translate</div>

i couldn't translate this syntax.

can anyone suggest how it will be translate??

  • can it be seen under translate page? – monymirza Jan 31 '13 at 7:34
  • Yes. but when i translate, it gives error like HTML syntax translation not allowed – user13218 Jan 31 '13 at 7:35
  • Are you using the i18n views module? – Patrick Kenny Jan 31 '13 at 7:54
  • yes using i18n views moduke – user13218 Jan 31 '13 at 7:58
  • Have you enabled translation for the HTML filter? It's off by default. – Patrick Kenny Jan 31 '13 at 8:33
4

Here's how to translate expressions containing HTML code:

  1. Go to admin/config/regional/i18n/strings
  2. Check "full HTML" in "Translatable text formats" section
  3. Then, go to admin/config/regional/translate/i18n_string
  4. Click on "Refresh strings".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy