94 files declare their use of TranslatableMarkup

BatchBuilder.php in core/lib/Drupal/Core/Batch/BatchBuilder.php
BatchBuilderTest.php in core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php
BlockComponentRenderArrayTest.php in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockRebuildTest.php in core/modules/block/tests/src/Kernel/BlockRebuildTest.php
block_content.install in core/modules/block_content/block_content.install
Install, update and uninstall functions for the block_content module.
BooleanItem.php in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php
bootstrap.inc in core/includes/bootstrap.inc
Functions that need to be loaded on every Drupal request.
BreakpointTest.php in core/modules/breakpoint/tests/src/Unit/BreakpointTest.php
comment.install in core/modules/comment/comment.install
Install, update and uninstall functions for the Comment module.
common.inc in core/includes/common.inc
Common functions that many Drupal modules will need to reference.
ConfigEntityType.php in core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
ConfigSingleExportForm.php in core/modules/config/src/Form/ConfigSingleExportForm.php
ConfigurableLanguageManager.php in core/modules/language/src/ConfigurableLanguageManager.php
ConstraintManager.php in core/lib/Drupal/Core/Validation/ConstraintManager.php
ContentEntityBase.php in core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityType.php in core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
content_translation.module in core/modules/content_translation/content_translation.module
Allows entities to be translated into different languages.
ContextualLinkDefaultTest.php in core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php
DateTest.php in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
dblog.module in core/modules/dblog/dblog.module
System monitoring and logging for administrators.
DefaultHtmlRouteProviderTest.php in core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php
Contains \Drupal\Tests\Core\Entity\Routing\DefaultHtmlRouteProviderTest.
DiscoveryTestBase.php in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/DiscoveryTestBase.php
DrupalTranslator.php in core/lib/Drupal/Core/Validation/DrupalTranslator.php
DummyAjaxItem.php in core/modules/image/tests/modules/image_module_test/src/Plugin/Field/FieldType/DummyAjaxItem.php
editor.module in core/modules/editor/editor.module
Adds bindings for client-side "text editors" to text formats.
EntityDefinitionTestTrait.php in core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php
EntityDefinitionUpdateTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
EntityOwnerTrait.php in core/modules/user/src/EntityOwnerTrait.php
EntityPublishedTrait.php in core/lib/Drupal/Core/Entity/EntityPublishedTrait.php
EntityReferenceItem.php in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceItemTest.php in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
EntityRevision.php in core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
EntitySchemaSubscriber.php in core/modules/system/tests/modules/entity_test_update/src/EventSubscriber/EntitySchemaSubscriber.php
EntityTestUpdate.php in core/modules/system/tests/modules/entity_test_update/src/Entity/EntityTestUpdate.php
EntityType.php in core/lib/Drupal/Core/Entity/EntityType.php
EntityTypeInfo.php in core/modules/workspaces/src/EntityTypeInfo.php
EntityTypeTest.php in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
entity_test_update.module in core/modules/system/tests/modules/entity_test_update/entity_test_update.module
Provides an entity type for testing definition and schema updates.
ExtraFieldBlock.php in core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
FieldBlock.php in core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
FieldTestItem.php in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/FieldTestItem.php
FileModuleTest.php in core/modules/file/tests/src/Kernel/FileModuleTest.php
FilterInOperatorTest.php in core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
FormOperations.php in core/modules/workspaces/src/FormOperations.php
FormTestSelectForm.php in core/modules/system/tests/modules/form_test/src/Form/FormTestSelectForm.php
HelpTopicDiscovery.php in core/modules/help_topics/src/HelpTopicDiscovery.php
HelpTopicDiscoveryTest.php in core/modules/help_topics/tests/src/Unit/HelpTopicDiscoveryTest.php
InternalPropertyTestFieldItem.php in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/InternalPropertyTestFieldItem.php
Language.php in core/lib/Drupal/Core/Language/Language.php
LanguageManager.php in core/lib/Drupal/Core/Language/LanguageManager.php
LayoutBuilderEntityViewDisplay.php in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutPluginManager.php in core/lib/Drupal/Core/Layout/LayoutPluginManager.php
LayoutPluginManagerTest.php in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
LayoutSectionItem.php in core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php
LocalActionDefaultTest.php in core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php
LocaleConfigManager.php in core/modules/locale/src/LocaleConfigManager.php
LocalTaskDefaultTest.php in core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php
Contains \Drupal\Tests\Core\Menu\LocalTaskDefaultTest.
MarkupInterfaceComparatorTest.php in core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php
media.install in core/modules/media/media.install
Install, uninstall and update hooks for Media module.
media_library.module in core/modules/media_library/media_library.module
Contains hook implementations for the media_library module.
MenuLinkContentDeriverTest.php in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentDeriverTest.php
MenuTreeSerializationTitleTest.php in core/modules/system/tests/src/Functional/Update/MenuTreeSerializationTitleTest.php
menu_link_content.post_update.php in core/modules/menu_link_content/menu_link_content.post_update.php
Post update functions for the Menu link content module.
MessengerTest.php in core/tests/Drupal/KernelTests/Core/Messenger/MessengerTest.php
MigrateUpgradeImportBatch.php in core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php
PasswordItem.php in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/PasswordItem.php
PathAlias.php in core/modules/path_alias/src/Entity/PathAlias.php
PermissionHandlerTest.php in core/modules/user/tests/src/Unit/PermissionHandlerTest.php
Contains \Drupal\Tests\user\Unit\PermissionHandlerTest.
PluginBase.php in core/modules/views/src/Plugin/views/PluginBase.php
PrimitiveTypeConstraintValidatorTest.php in core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
rest.install in core/modules/rest/rest.install
Install, update and uninstall functions for the rest module.
RfcLogLevel.php in core/lib/Drupal/Core/Logger/RfcLogLevel.php
SerializedItem.php in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedItem.php
SerializedPropertyItem.php in core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/SerializedPropertyItem.php
SqlContentEntityStorageSchemaConverter.php in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchemaConverter.php
StringItemBase.php in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php
StringTranslationTraitTest.php in core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php
system.install in core/modules/system/system.install
Install, update and uninstall functions for the system module.
Tableselect.php in core/lib/Drupal/Core/Render/Element/Tableselect.php
TableSelectTest.php in core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php
TableSort.php in core/lib/Drupal/Core/Utility/TableSort.php
taxonomy.post_update.php in core/modules/taxonomy/taxonomy.post_update.php
Post update functions for Taxonomy.
TitleResolverTest.php in core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php
Contains \Drupal\Tests\Core\Controller\TitleResolverTest.
TranslatableMarkupTest.php in core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
Translation.php in core/lib/Drupal/Core/Annotation/Translation.php
TwigExtensionTest.php in core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
TwigMarkupInterfaceTest.php in core/tests/Drupal/KernelTests/Core/Theme/TwigMarkupInterfaceTest.php
Contains \Drupal\KernelTests\Core\Theme\TwigMarkupInterfaceTest.
UnitTestCase.php in core/tests/Drupal/Tests/UnitTestCase.php
views.post_update.php in core/modules/views/views.post_update.php
Post update functions for Views.
ViewsBlock.php in core/modules/views/src/Plugin/Derivative/ViewsBlock.php
Workspace.php in core/modules/workspaces/src/Entity/Workspace.php
YamlDirectoryDiscoveryTest.php in core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php
YamlDiscovery.php in core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php
YamlDiscoveryTest.php in core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php

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