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
MediaEmbedFilterTranslationTest::providerTranslationSituations function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Data provider for testTranslationSelection().
MediaEmbedFilterTranslationTest::testTranslationSelection function core/modules/media/tests/src/Kernel/MediaEmbedFilterTranslationTest.php Tests that the expected embedded media entity translation is selected.
MigrateEntityContentBaseTest::assertTranslations function core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php Check the existing translations of an entity.
MigrateEntityTranslationSettingsTest class core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php Tests the migration of entity translation settings.
MigrateEntityTranslationSettingsTest.php file core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php
MigrateEntityTranslationSettingsTest::$modules property core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php Modules to install.
MigrateEntityTranslationSettingsTest::setUp function core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php
MigrateEntityTranslationSettingsTest::testEntityTranslationSettingsMigration function core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php Tests entity translation settings migration.
MigrateNodeDeriverTest::testNoTranslations function core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php Tests node translation migrations with translation disabled.
MigrateNodeDeriverTest::testNoTranslations function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php Tests node translation migrations with translation disabled.
MigrateNodeDeriverTest::testTranslations function core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php Tests node translation migrations with translation enabled.
MigrateNodeDeriverTest::testTranslations function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php Tests node translation migrations with translation enabled.
ModerationLocaleTest::testNewTranslationSourceValues function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Checks that new translation values are populated properly.
Node::handleTranslations function core/modules/node/src/Plugin/migrate/source/d6/Node.php Adapt our query for translations.
Node::handleTranslations function core/modules/node/src/Plugin/migrate/source/d7/Node.php Adapt our query for translations.
NodeComplete::handleTranslations function core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php Adapt our query for translations.
NodeRevision::handleTranslations function core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php Adapt our query for translations.
NodeTranslationMigrateSubscriber::isNodeTranslationsMigration function core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php Helper method to check if we are migrating translated nodes.
NodeTranslationUITest::doTestTranslations function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Tests that the given path displays the correct translation values.
RevisionVersionHistoryTranslatableTest::testVersionHistoryTranslations function core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php Tests the version history page for translations.
RowEntityRenderersTest::assertTranslations function core/modules/views/tests/src/Kernel/Entity/RowEntityRenderersTest.php Checks that the view results match the expected values.
StaticTranslation::$translations property core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php String translations.
stream_wrapper.translations service core/modules/locale/locale.services.yml Drupal\locale\StreamWrapper\TranslationsStream
StringDatabaseStorage::countTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::deleteTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringDatabaseStorage::getTranslations function core/modules/locale/src/StringDatabaseStorage.php
StringStorageInterface::countTranslations function core/modules/locale/src/StringStorageInterface.php Counts translations.
StringStorageInterface::deleteTranslations function core/modules/locale/src/StringStorageInterface.php Deletes translations using conditions.
StringStorageInterface::getTranslations function core/modules/locale/src/StringStorageInterface.php Loads multiple string translation objects.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that toolbar cache is cleared when string translations are made.
TranslationsStream class core/modules/locale/src/StreamWrapper/TranslationsStream.php Defines a Drupal translations (translations://) stream wrapper class.
TranslationsStream.php file core/modules/locale/src/StreamWrapper/TranslationsStream.php
TranslationsStream::getDescription function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the description of the stream wrapper for use in the UI.
TranslationsStream::getDirectoryPath function core/modules/locale/src/StreamWrapper/TranslationsStream.php Gets the path that the wrapper is responsible for.
TranslationsStream::getExternalUrl function core/modules/locale/src/StreamWrapper/TranslationsStream.php Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl().
TranslationsStream::getName function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the name of the stream wrapper for use in the UI.
TranslationsStream::getType function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the type of stream wrapper.
TranslationStatusForm class core/modules/locale/src/Form/TranslationStatusForm.php Provides a translation status form.
TranslationStatusForm.php file core/modules/locale/src/Form/TranslationStatusForm.php
TranslationStatusForm::$moduleHandler property core/modules/locale/src/Form/TranslationStatusForm.php The module handler service.
TranslationStatusForm::$state property core/modules/locale/src/Form/TranslationStatusForm.php The Drupal state storage service.
TranslationStatusForm::buildForm function core/modules/locale/src/Form/TranslationStatusForm.php Form builder for displaying the current translation status.
TranslationStatusForm::create function core/modules/locale/src/Form/TranslationStatusForm.php Instantiates a new instance of this class.
TranslationStatusForm::createInfoString function core/modules/locale/src/Form/TranslationStatusForm.php Provides debug info for projects in case translation files are not found.
TranslationStatusForm::getFormId function core/modules/locale/src/Form/TranslationStatusForm.php Returns a unique string identifying the form.
TranslationStatusForm::prepareUpdateData function core/modules/locale/src/Form/TranslationStatusForm.php Prepare information about projects with available translation updates.
TranslationStatusForm::submitForm function core/modules/locale/src/Form/TranslationStatusForm.php Form submission handler.
TranslationStatusForm::validateForm function core/modules/locale/src/Form/TranslationStatusForm.php Form validation handler.
TranslationStatusForm::__construct function core/modules/locale/src/Form/TranslationStatusForm.php Constructs a TranslationStatusForm object.
TranslationStatusInterface interface core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Defines an interface for checking the status of an entity translation.

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