2

Is it possible to translate this type of view field, Or use t() in this field for single words?

I'm using the Internationalization and the Internationalization Views modules, but I can't translate these fields.

1
0

In Drupal 8 and 9, use t ( or trans) filter in twig element in your Global: Custom text”.

for example, create a Global: custom text field and paste

 {{ 'this text will be available in translate interface'|t }}

Ref for reading more: https://www.drupal.org/docs/theming-drupal/twig-in-drupal/filters-modifying-variables-in-twig-templates

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