Multilingual

Translating views strings programmatically in Drupal 8

Posted on Wednesday, September 20, 2017

In Drupal 8 strings can be translated with .po files or translation interface provided by the locale module. But views strings like sort options, header, footer or any other string can only be translated through configuration translation and can be enabled by enabling "Configuration Translation" module.

Now each view will have a "Translate View" tab on edit view page, through which translations can be added for each language.

Importing translation string with script without reinstall in Drupal 8

Posted on Friday, September 15, 2017

Drupal 8 supports multilingual out of the box now and provides translation interface to added translated strings in different languages. But it's not always feasible to added translation through this translation interface as translation strings might be a lot in numbers.