I am working on a (my first) Drupal 8 project witch is a multilingual site. Drupal 8 really delivers in terms of native support for content translation. However, I have a few strings set directly in some if the theme .Twig template files printed out like ex.
{{ 'Read more'|trans }}
I am really stuck on where to handle the translation for strings like these within the Drupal 8 installation.
What steps do I need to take to be able to translate these strings into the language currently selected for on the site? Do I need any additional modules other than the ones included in Drupal 8 core?
Steps I have taken:
- Activated the Content Translation & Interface Translation modules
- Added Twig strings like {{ 'Read more'|trans }}
- Flushed cache and refreshed pages containing the strings
- Checked admin/config/regional/translate for the strings with no result
|t
instead of|trans
?