namespace Drupal\Core\StringTranslation\Translator

Same name in other branches
  1. 8.9.x Drupal\Core\StringTranslation\Translator
  2. 11.x Drupal\Core\StringTranslation\Translator
  3. 9 Drupal\Core\StringTranslation\Translator
Object name File name Summary
CustomStrings core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php String translator using overrides from variables.
FileTranslation core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php File based string translation.
StaticTranslation core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php String translator with a static cache for translations.
TranslatorInterface core/lib/Drupal/Core/StringTranslation/Translator/TranslatorInterface.php Interface for objects capable of string translation.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.