Search for translations

  1. Search 7.x for translations
  2. Search 9.5.x for translations
  3. Search 8.9.x for translations
  4. Search 11.x for translations
  5. Other projects
Title Object type File name Summary
TranslationStatusInterface.php file core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php
TranslationStatusInterface::getTranslationStatus function core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Returns the translation status.
TranslationStatusInterface::TRANSLATION_CREATED constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying a newly created translation.
TranslationStatusInterface::TRANSLATION_EXISTING constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying an existing translation.
TranslationStatusInterface::TRANSLATION_REMOVED constant core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Status code identifying a removed translation.
TranslationsTest class core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests media library for translatable media.
TranslationsTest.php file core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::$defaultTheme property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php The theme to install as the default for testing.
TranslationsTest::$modules property core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Modules to install.
TranslationsTest::setUp function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php
TranslationsTest::testMediaLibraryTranslations function core/modules/media_library/tests/src/FunctionalJavascript/TranslationsTest.php Tests the media library widget shows all media only once.
TranslationString class core/modules/locale/src/TranslationString.php Defines the locale translation string object.
TranslationString.php file core/modules/locale/src/TranslationString.php
TranslationString::$customized property core/modules/locale/src/TranslationString.php Integer indicating whether this string is customized.
TranslationString::$isNew property core/modules/locale/src/TranslationString.php Boolean indicating whether the string object is new.
TranslationString::$language property core/modules/locale/src/TranslationString.php The language code.
TranslationString::$translation property core/modules/locale/src/TranslationString.php The string translation.
TranslationString::delete function core/modules/locale/src/TranslationString.php Deletes string object from storage.
TranslationString::getString function core/modules/locale/src/TranslationString.php Gets plain string contained in this object.
TranslationString::isNew function core/modules/locale/src/TranslationString.php Checks whether the object is not saved to storage yet.
TranslationString::isSource function core/modules/locale/src/TranslationString.php Checks whether the object is a source string.
TranslationString::isTranslation function core/modules/locale/src/TranslationString.php Checks whether the object is a translation string.
TranslationString::save function core/modules/locale/src/TranslationString.php Saves string object to storage.
TranslationString::setCustomized function core/modules/locale/src/TranslationString.php Sets the string as customized / not customized.
TranslationString::setString function core/modules/locale/src/TranslationString.php Sets the string contained in this object.
TranslationString::__construct function core/modules/locale/src/TranslationString.php Constructs a new locale string object.
TranslationStringTest class core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests the TranslatableMarkup class.
TranslationStringTest.php file core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::$modules property core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Modules to install.
TranslationStringTest::rebootAndPrepareSettings function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Reboots the kernel to set custom translations in Settings.
TranslationStringTest::setUp function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php
TranslationStringTest::testComparison function core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php Tests that TranslatableMarkup objects can be compared.
UnitTestCase::getStringTranslationStub function core/tests/Drupal/Tests/UnitTestCase.php Returns a stub translation manager that just returns the passed string.
UserCancelTest::testUserAnonymizeTranslations function core/modules/user/tests/src/Functional/UserCancelTest.php Delete account and anonymize all content and it's translations.
ViewDuplicateForm::copyTranslations function core/modules/views_ui/src/ViewDuplicateForm.php Copies all translations that existed on the original View.
views.view.test_entity_translations_link.yml file core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml
WorkspaceContentTranslationTest::testTranslations function core/modules/workspaces/tests/src/Kernel/WorkspaceContentTranslationTest.php Tests translations created in a workspace.
_locale_refresh_translations function core/modules/locale/locale.module Refresh related information after string translations have been updated.

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