Search for trans

  1. Search 7.x for trans
  2. Search 9.5.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
LocaleTranslationProjectsTest.php file core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php
LocaleTranslationProjectsTest::$moduleHandler property core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php The module handler used in this test.
LocaleTranslationProjectsTest::$modules property core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Modules to enable.
LocaleTranslationProjectsTest::$projectStorage property core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php The locale project storage used in this test.
LocaleTranslationProjectsTest::setUp function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale_translation_clear_cache_projects().
LocaleTranslationTest class core/modules/locale/tests/src/Unit/LocaleTranslationTest.php @coversDefaultClass \Drupal\locale\LocaleTranslation
@group locale
LocaleTranslationTest class core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php @coversDefaultClass \Drupal\locale\LocaleTranslation
@group locale
LocaleTranslationTest.php file core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
LocaleTranslationTest.php file core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php
LocaleTranslationTest::$languageManager property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked language manager built from LanguageManagerInterface.
LocaleTranslationTest::$modules property core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Modules to enable.
LocaleTranslationTest::$requestStack property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php The request stack.
LocaleTranslationTest::$storage property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked storage to use when instantiating LocaleTranslation objects.
LocaleTranslationTest::setUp function core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
LocaleTranslationTest::testDestruct function core/modules/locale/tests/src/Unit/LocaleTranslationTest.php Tests for \Drupal\locale\LocaleTranslation::destruct().
LocaleTranslationTest::testSerializable function core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Tests that \Drupal\locale\LocaleTranslation is serializable.
LocaleTranslationUiTest class core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Adds a new locale and translates its name. Checks the validation of
translation strings and search results.
LocaleTranslationUiTest.php file core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
LocaleTranslationUiTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php The theme to install as the default for testing.
LocaleTranslationUiTest::$modules property core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Modules to enable.
LocaleTranslationUiTest::testEnglishTranslation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Enable interface translation to English.
LocaleTranslationUiTest::testJavaScriptTranslation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Adds a language and checks that the JavaScript translation files are
properly created and rebuilt on deletion.
LocaleTranslationUiTest::testStringSearch function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests translation search form.
LocaleTranslationUiTest::testStringTranslation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationUiTest::testStringValidation function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests the validation of the translation input.
LocaleTranslationUiTest::testUICustomizedStrings function core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Tests that only changed strings are saved customized when edited.
LocaleUpdateBase::assertTranslation function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Checks the translation of a string.
LocaleUpdateBase::setCurrentTranslations function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Setup existing translations in the database and set up the status of
existing translations.
LocaleUpdateBase::setTranslationFiles function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Setup the environment containing local and remote translation files.
LocaleUpdateBase::setTranslationsDirectory function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Sets the value of the default translations directory.
locale_is_translatable function core/modules/locale/locale.module Checks whether $langcode is a language supported as a locale target.
locale_js_translate function core/modules/locale/locale.module Returns a list of translation files given a list of JavaScript files.
locale_post_update_clear_cache_for_old_translations function core/modules/locale/locale.post_update.php Clear cache to ensure plural translations are removed from it.
locale_test.no_translation.yml file core/modules/locale/tests/modules/locale_test/config/install/locale_test.no_translation.yml core/modules/locale/tests/modules/locale_test/config/install/locale_test.no_translation.yml
locale_test.translation.yml file core/modules/locale/tests/modules/locale_test/config/install/language/de/locale_test.translation.yml core/modules/locale/tests/modules/locale_test/config/install/language/de/locale_test.translation.yml
locale_test.translation.yml file core/modules/locale/tests/modules/locale_test/config/install/locale_test.translation.yml core/modules/locale/tests/modules/locale_test/config/install/locale_test.translation.yml
locale_test.translation_multiple.yml file core/modules/locale/tests/modules/locale_test/config/install/locale_test.translation_multiple.yml core/modules/locale/tests/modules/locale_test/config/install/locale_test.translation_multiple.yml
locale_test_development_release_locale_translation_projects_alter function core/modules/locale/tests/modules/locale_test_development_release/locale_test_development_release.module Implements hook_locale_translation_projects_alter().
locale_test_locale_translation_projects_alter function core/modules/locale/tests/modules/locale_test/locale_test.module Implements hook_locale_translation_projects_alter().
locale_test_translate.info.yml file core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.info.yml core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.info.yml
locale_test_translate.module file core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.module Simulates a custom module with a local po file.
locale_test_translate.schema.yml file core/modules/locale/tests/modules/locale_test_translate/config/schema/locale_test_translate.schema.yml core/modules/locale/tests/modules/locale_test_translate/config/schema/locale_test_translate.schema.yml
locale_test_translate.settings.yml file core/modules/locale/tests/modules/locale_test_translate/config/install/locale_test_translate.settings.yml core/modules/locale/tests/modules/locale_test_translate/config/install/locale_test_translate.settings.yml
locale_test_translate_system_info_alter function core/modules/locale/tests/modules/locale_test_translate/locale_test_translate.module Implements hook_system_info_alter().
locale_translatable_language_list function core/modules/locale/locale.module Returns list of translatable languages.
locale_translate_batch_build function core/modules/locale/locale.bulk.inc Build a locale batch from an array of files.
locale_translate_batch_finished function core/modules/locale/locale.bulk.inc Implements callback_batch_finished().
locale_translate_batch_import function core/modules/locale/locale.bulk.inc Implements callback_batch_operation().
locale_translate_batch_import_files function core/modules/locale/locale.bulk.inc Prepare a batch to import all translations.

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