Search for translations

  1. Search 7.x for translations
  2. Search 9.5.x for translations
  3. Search 10.3.x for translations
  4. Search 11.x for translations
  5. Other projects
Title Object type File name Summary
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 enable.
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 Test node translation migrations with translation disabled.
MigrateNodeDeriverTest::testNoTranslations function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php Test node translation migrations with translation disabled.
MigrateNodeDeriverTest::testTranslations function core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php Test node translation migrations with translation enabled.
MigrateNodeDeriverTest::testTranslations function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php Test node translation migrations with translation enabled.
MigrateNodeTest::testNodeEntityTranslations function core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php Test node entity translations migration from Drupal 7 to 8.
MigrateTaxonomyTermTest::testTaxonomyTermEntityTranslations function core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php Tests the migration of taxonomy term entity translations.
MigrateUserTest::testUserEntityTranslations function core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserTest.php Tests the Drupal 7 user entity translations to Drupal 8 migration.
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.
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 Counts translations.
StringDatabaseStorage::deleteTranslations function core/modules/locale/src/StringDatabaseStorage.php Deletes translations using conditions.
StringDatabaseStorage::getTranslations function core/modules/locale/src/StringDatabaseStorage.php Loads multiple string translation objects.
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.