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 10.3.x for translations
  5. Other projects
Title Object type File name Summary
LocaleTranslationDownloadTest::$translationsStream property core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php The virtual file stream for storing translations.
LocaleTranslationSource class core/modules/locale/src/LocaleTranslationSource.php Provides source and translation status information for a project/langcode.
LocaleTranslationSource.php file core/modules/locale/src/LocaleTranslationSource.php
LocaleTranslationSource::$core property core/modules/locale/src/LocaleTranslationSource.php The core for the Server pattern, always "all".
LocaleTranslationSource::$files property core/modules/locale/src/LocaleTranslationSource.php List of locale file object.
LocaleTranslationSource::$name property core/modules/locale/src/LocaleTranslationSource.php The project name.
LocaleTranslationSource::$server_pattern property core/modules/locale/src/LocaleTranslationSource.php The server pattern.
LocaleTranslationSource::$version property core/modules/locale/src/LocaleTranslationSource.php The version.
LocaleTranslationSource::fromProject function core/modules/locale/src/LocaleTranslationSource.php Create a LocaleTranslationSource object from a project.
LocaleTranslationSource::getFile function core/modules/locale/src/LocaleTranslationSource.php Returns file for the source.
LocaleTranslationSource::getType function core/modules/locale/src/LocaleTranslationSource.php Returns type of the source.
LocaleTranslationSource::isUpdateAvailable function core/modules/locale/src/LocaleTranslationSource.php Returns whether an update is available.
LocaleTranslationSource::__construct function core/modules/locale/src/LocaleTranslationSource.php
LocaleUpdateBase::setCurrentTranslations function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Sets up existing translations and their statuses in the database.
LocaleUpdateBase::setTranslationsDirectory function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Sets the value of the default translations directory.
locale_config_batch_update_config_translations function core/modules/locale/locale.bulk.inc Implements callback_batch_operation().
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
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
NodeRevision::handleTranslations function core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php
NodeRevisionsUiTest::testNodeRevisionsTabPagerAffectedTranslations function core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php Tests the revision tab paginates correctly with affected 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::basePath function core/modules/locale/src/StreamWrapper/TranslationsStream.php Returns the base path for translations://.

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