Search for translateString

  1. Search 7.x for translateString
  2. Search 8.9.x for translateString
  3. Search 10.3.x for translateString
  4. Search 11.x for translateString
  5. Other projects
Title Object type File name Summary
LocaleConfigManager::translateString function core/modules/locale/src/LocaleConfigManager.php Translates string using the localization system.
LocaleTranslateStringTourTest class core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php Tests the Translate Interface tour.
LocaleTranslateStringTourTest.php file core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php An admin user with administrative permissions to translate.
LocaleTranslateStringTourTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::$modules property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php Modules to enable.
LocaleTranslateStringTourTest::setUp function core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::testTranslateStringTourTips function core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php Tests locale tour tip availability.
TestTranslationManager::translateString function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Translates a TranslatableMarkup object to a string.
TranslationInterface::translateString function core/lib/Drupal/Core/StringTranslation/TranslationInterface.php Translates a TranslatableMarkup object to a string.
TranslationManager::translateString function core/lib/Drupal/Core/StringTranslation/TranslationManager.php Translates a TranslatableMarkup object to a string.

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