Search for trans

  1. Search 7.x for trans
  2. Search 8.9.x for trans
  3. Search 10.3.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
LocaleImportFunctionalTest::testCreatedLanguageTranslation function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests the translation are imported when a new language is created.
LocaleJavascriptTranslationTest class core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Tests parsing js files for translatable strings.
LocaleJavascriptTranslationTest.php file core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
LocaleJavascriptTranslationTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php The theme to install as the default for testing.
LocaleJavascriptTranslationTest::$modules property core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Modules to enable.
LocaleJavascriptTranslationTest::testFileParsing function core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
LocaleJavascriptTranslationTest::testLocaleTranslationJsDependencies function core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php Assert translations JS is added before drupal.js, because it depends on it.
LocaleLookupTest::providerFixOldPluralTranslationProvider function core/modules/locale/tests/src/Unit/LocaleLookupTest.php Provides test data for testResolveCacheMissWithFallback().
LocaleLookupTest::testFixOldPluralStyleTranslations function core/modules/locale/tests/src/Unit/LocaleLookupTest.php Tests locale lookups with old plural style of translations.
LocaleLookupTest::testResolveCacheMissNoTranslation function core/modules/locale/tests/src/Unit/LocaleLookupTest.php Tests locale lookups without a found translation.
LocaleNonInteractiveInstallTest::testInstallerTranslations function core/modules/locale/tests/src/Functional/LocaleNonInteractiveInstallTest.php Tests that the expected translated text appears on the login screen.
LocaleStringTest::createAllTranslations function core/modules/locale/tests/src/Kernel/LocaleStringTest.php Creates translations for source string and all languages.
LocaleStringTest::createTranslation function core/modules/locale/tests/src/Kernel/LocaleStringTest.php Creates single translation for source string.
LocaleTranslatedSchemaDefinitionTest class core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php Adds and configures languages to check field schema definition.
LocaleTranslatedSchemaDefinitionTest.php file core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php
LocaleTranslatedSchemaDefinitionTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php The theme to install as the default for testing.
LocaleTranslatedSchemaDefinitionTest::$modules property core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php Modules to enable.
LocaleTranslatedSchemaDefinitionTest::setUp function core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php
LocaleTranslatedSchemaDefinitionTest::testTranslatedSchemaDefinition function core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php Tests that translated field descriptions do not affect the update system.
LocaleTranslatedSchemaDefinitionTest::testTranslatedUpdate function core/modules/locale/tests/src/Functional/LocaleTranslatedSchemaDefinitionTest.php Tests that translations do not affect the update system.
LocaleTranslateStringTourTest class core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php Tests the Translate Interface tour.
LocaleTranslateStringTourTest.php file core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php An admin user with administrative permissions to translate.
LocaleTranslateStringTourTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php The theme to install as the default for testing.
LocaleTranslateStringTourTest::$modules property core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php Modules to enable.
LocaleTranslateStringTourTest::setUp function core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php
LocaleTranslateStringTourTest::testTranslateStringTourTips function core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php Tests locale tour tip availability.
LocaleTranslation class core/modules/locale/src/LocaleTranslation.php String translator using the locale module.
LocaleTranslation class core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Executes interface translation queue tasks.
LocaleTranslation.php file core/modules/locale/src/LocaleTranslation.php
LocaleTranslation.php file core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php
LocaleTranslation::$cache property core/modules/locale/src/LocaleTranslation.php The cache backend that should be used.
LocaleTranslation::$configFactory property core/modules/locale/src/LocaleTranslation.php The configuration factory.
LocaleTranslation::$languageManager property core/modules/locale/src/LocaleTranslation.php The language manager.
LocaleTranslation::$lock property core/modules/locale/src/LocaleTranslation.php The lock backend that should be used.
LocaleTranslation::$moduleHandler property core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php The module handler.
LocaleTranslation::$queue property core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php The queue object.
LocaleTranslation::$requestStack property core/modules/locale/src/LocaleTranslation.php The request stack.
LocaleTranslation::$storage property core/modules/locale/src/LocaleTranslation.php Storage for strings.
LocaleTranslation::$translateEnglish property core/modules/locale/src/LocaleTranslation.php The translate english configuration value.
LocaleTranslation::$translations property core/modules/locale/src/LocaleTranslation.php Cached translations.
LocaleTranslation::canTranslateEnglish function core/modules/locale/src/LocaleTranslation.php Gets translate english configuration value.
LocaleTranslation::create function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Creates an instance of the plugin.
LocaleTranslation::destruct function core/modules/locale/src/LocaleTranslation.php Performs destruct operations.
LocaleTranslation::getStringTranslation function core/modules/locale/src/LocaleTranslation.php Retrieves English string to given language.
LocaleTranslation::processItem function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php The translation update functions executed here are batch operations which
are also used in translation update batches. The batch functions may need
to be executed multiple times to complete their task, typically this is the
translation import…
LocaleTranslation::reset function core/modules/locale/src/LocaleTranslation.php Resets translation cache.
LocaleTranslation::__construct function core/modules/locale/src/LocaleTranslation.php Constructs a translator using a string storage.
LocaleTranslation::__construct function core/modules/locale/src/Plugin/QueueWorker/LocaleTranslation.php Constructs a new LocaleTranslation object.
LocaleTranslationCacheTag class core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php A subscriber invalidating cache tags when translating a string.

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