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??

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

1 Answer 1

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 and acknowledge you have read our privacy policy.