I add a simple text as view header but it is not exists in translatable text in admin/config/regional/translate.

In Drupal 7 we could even translate unformulated views header and footer with the following steps:

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

Has this feature been removed form Drupal 8? (I don't think so.)
How can I translate view header and footer simple text?

  • Plain Drupal 7 doesn't have any admin/config/regional/i18n/strings; that is added by the i18n module. – kiamlaluno Jun 14 '16 at 12:11
  • @kiamlaluno I mean with module.drupal 7 by default not support i18n – Yusef Jun 14 '16 at 13:09
  • There is a thread, that explain config translation: drupal.stackexchange.com/questions/189872/… – user1506519 Jan 19 '17 at 8:44

You can easy translate view header and footer text using the {% trans %} Twig tag in Drupal 8 Example:

{% trans %}
  Text for translate
{% endtrans %}

And after that you will be able find text in user interface translation "admin/config/regional/translate"

|improve this answer|||||

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.