119 files declare their use of StringTranslationTrait

BlockManagerTest.php in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
BlockPluginTrait.php in core/lib/Drupal/Core/Block/BlockPluginTrait.php
BreakpointManager.php in core/modules/breakpoint/src/BreakpointManager.php
CategorizingPluginManagerTrait.php in core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php
CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php in core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php
CommentBreadcrumbBuilder.php in core/modules/comment/src/CommentBreadcrumbBuilder.php
CommentLinkBuilder.php in core/modules/comment/src/CommentLinkBuilder.php
CommentManager.php in core/modules/comment/src/CommentManager.php
ComplexTestType.php in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php
ConfigImporter.php in core/lib/Drupal/Core/Config/ConfigImporter.php
ConfigImportValidateEventSubscriberBase.php in core/lib/Drupal/Core/Config/ConfigImportValidateEventSubscriberBase.php
ConfigManager.php in core/lib/Drupal/Core/Config/ConfigManager.php
ContentModeration.php in core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php
ContentTranslationContextualLinks.php in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php
ContentTranslationHandler.php in core/modules/content_translation/src/ContentTranslationHandler.php
ContentTranslationLocalTasks.php in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php
ContentTranslationPermissions.php in core/modules/content_translation/src/ContentTranslationPermissions.php
ContentUninstallValidator.php in core/lib/Drupal/Core/Entity/ContentUninstallValidator.php
ContextAwarePluginBase.php in core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
ControllerBase.php in core/lib/Drupal/Core/Controller/ControllerBase.php
Cookie.php in core/modules/user/src/Authentication/Provider/Cookie.php
CurrentLanguageContext.php in core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php
CurrentUserContext.php in core/modules/user/src/ContextProvider/CurrentUserContext.php
D6NodeDeriver.php in core/modules/node/src/Plugin/migrate/D6NodeDeriver.php
D7NodeDeriver.php in core/modules/node/src/Plugin/migrate/D7NodeDeriver.php
D7TaxonomyTermDeriver.php in core/modules/taxonomy/src/Plugin/migrate/D7TaxonomyTermDeriver.php
DatabaseDriverUninstallValidator.php in core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php
DateFormatter.php in core/lib/Drupal/Core/Datetime/DateFormatter.php
DefaultFetcher.php in core/modules/aggregator/src/Plugin/aggregator/fetcher/DefaultFetcher.php
DefaultParser.php in core/modules/aggregator/src/Plugin/aggregator/parser/DefaultParser.php
DefaultSelectionDeriver.php in core/lib/Drupal/Core/Entity/Plugin/Derivative/DefaultSelectionDeriver.php
DrupalDateTime.php in core/lib/Drupal/Core/Datetime/DrupalDateTime.php
DynamicLocalTasks.php in core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php
EntityActionDeriverBase.php in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php
EntityConstraintViolationList.php in core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php
EntityController.php in core/lib/Drupal/Core/Entity/Controller/EntityController.php
EntityDefinitionUpdateManager.php in core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php
EntityDisplayRepository.php in core/lib/Drupal/Core/Entity/EntityDisplayRepository.php
EntityFieldManager.php in core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityHandlerBase.php in core/lib/Drupal/Core/Entity/EntityHandlerBase.php
EntitySchemaSubscriber.php in core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php
EntityTestPermissions.php in core/modules/system/tests/modules/entity_test/src/EntityTestPermissions.php
EntityType.php in core/lib/Drupal/Core/Entity/EntityType.php
EntityType.php in core/lib/Drupal/Core/Entity/Annotation/EntityType.php
EntityTypeInfo.php in core/modules/content_moderation/src/EntityTypeInfo.php
EntityTypeRepository.php in core/lib/Drupal/Core/Entity/EntityTypeRepository.php
EntityViewsData.php in core/modules/views/src/EntityViewsData.php
FieldTimeIntervalTest.php in core/modules/views/tests/src/Functional/Handler/FieldTimeIntervalTest.php
FieldUiLocalAction.php in core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalAction.php
FieldUiLocalTask.php in core/modules/field_ui/src/Plugin/Derivative/FieldUiLocalTask.php
FieldUiPermissions.php in core/modules/field_ui/src/FieldUiPermissions.php
FilterInOperatorTest.php in core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php
FilterPermissions.php in core/modules/filter/src/FilterPermissions.php
FilterUninstallValidator.php in core/modules/filter/src/FilterUninstallValidator.php
FinalExceptionSubscriber.php in core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php
FormAjaxSubscriber.php in core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php
FormBase.php in core/lib/Drupal/Core/Form/FormBase.php
FormController.php in core/modules/system/tests/modules/condition_test/src/FormController.php
FormErrorHandler.php in core/modules/inline_form_errors/src/FormErrorHandler.php
FormValidator.php in core/lib/Drupal/Core/Form/FormValidator.php
IdAuditor.php in core/modules/migrate/src/Audit/IdAuditor.php
InstallerException.php in core/lib/Drupal/Core/Installer/Exception/InstallerException.php
Llama.php in core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php
MailHandler.php in core/modules/contact/src/MailHandler.php
MailManager.php in core/lib/Drupal/Core/Mail/MailManager.php
MaintenanceModeSubscriber.php in core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
MediaLibrary.php in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/MediaLibrary.php
MenuLinkDefaultForm.php in core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
MenuParentFormSelector.php in core/lib/Drupal/Core/Menu/MenuParentFormSelector.php
MigrateExecutable.php in core/modules/migrate/src/MigrateExecutable.php
MockBlockManager.php in core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
MockLayoutBlockDeriver.php in core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php
MockMenuBlockDeriver.php in core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
ModerationHandler.php in core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php
ModerationInformation.php in core/modules/content_moderation/src/ModerationInformation.php
ModuleExtensionList.php in core/lib/Drupal/Core/Extension/ModuleExtensionList.php
ModuleRequiredByThemesUninstallValidator.php in core/lib/Drupal/Core/Extension/ModuleRequiredByThemesUninstallValidator.php
ModulesEnabledTrait.php in core/modules/system/src/Form/ModulesEnabledTrait.php
NodePermissions.php in core/modules/node/src/NodePermissions.php
NodeRouteContext.php in core/modules/node/src/ContextProvider/NodeRouteContext.php
PathBasedBreadcrumbBuilder.php in core/modules/system/src/PathBasedBreadcrumbBuilder.php
PermissionHandler.php in core/modules/user/src/PermissionHandler.php
Permissions.php in core/modules/content_moderation/src/Permissions.php
PluginBase.php in core/lib/Drupal/Core/Plugin/PluginBase.php
ProjectCoreCompatibility.php in core/modules/update/src/ProjectCoreCompatibility.php
ProjectSecurityRequirement.php in core/modules/update/src/ProjectSecurityRequirement.php
RequiredModuleUninstallValidator.php in core/lib/Drupal/Core/Extension/RequiredModuleUninstallValidator.php
RequiredStateTestType.php in core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/RequiredStateTestType.php
SitesDirectoryHardeningTest.php in core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
SmartDefaultSettings.php in core/modules/ckeditor5/src/SmartDefaultSettings.php
SourceEditingRedundantTagsConstraintValidator.php in core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php
SystemBrandingOffCanvasForm.php in core/modules/system/src/Form/SystemBrandingOffCanvasForm.php
SystemConfigSubscriber.php in core/modules/system/src/SystemConfigSubscriber.php
SystemMenuOffCanvasForm.php in core/modules/system/src/Form/SystemMenuOffCanvasForm.php
TaxonomyPermissions.php in core/modules/taxonomy/src/TaxonomyPermissions.php
TermBreadcrumbBuilder.php in core/modules/taxonomy/src/TermBreadcrumbBuilder.php
TermRouteContext.php in core/modules/taxonomy/src/ContextProvider/TermRouteContext.php
TestLocalAction4.php in core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/TestLocalAction4.php
TestPrepareLayout.php in core/modules/layout_builder/tests/modules/layout_builder_element_test/src/EventSubscriber/TestPrepareLayout.php
TestTasksSettingsSub1.php in core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php
ThemeInstaller.php in core/lib/Drupal/Core/Extension/ThemeInstaller.php
TitleResolver.php in core/lib/Drupal/Core/Controller/TitleResolver.php
ToolbarLinkBuilder.php in core/modules/user/src/ToolbarLinkBuilder.php
TwigExtensionTestController.php in core/modules/system/tests/modules/twig_extension_test/src/TwigExtensionTestController.php
TypedData.php in core/lib/Drupal/Core/TypedData/TypedData.php
UnapprovedComments.php in core/modules/comment/src/Plugin/Menu/LocalTask/UnapprovedComments.php
UpdateManager.php in core/modules/update/src/UpdateManager.php
UserLocalTask.php in core/modules/user/src/Plugin/Derivative/UserLocalTask.php
ViewsData.php in core/modules/content_moderation/src/ViewsData.php
ViewsEntityArgumentValidator.php in core/modules/views/src/Plugin/Derivative/ViewsEntityArgumentValidator.php
ViewsEntityRow.php in core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php
ViewsExposedFilterBlock.php in core/modules/views/src/Plugin/Derivative/ViewsExposedFilterBlock.php
ViewsFormMainForm.php in core/modules/views/src/Form/ViewsFormMainForm.php
ViewsSelection.php in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
WorkflowTypeConfigureFormBase.php in core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php
WorkflowTypeStateFormBase.php in core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php
WorkflowTypeTransitionFormBase.php in core/modules/workflows/src/Plugin/WorkflowTypeTransitionFormBase.php
WorkspaceManager.php in core/modules/workspaces/src/WorkspaceManager.php
WorkspacePublisher.php in core/modules/workspaces/src/WorkspacePublisher.php

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