Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 8.9.x for trans
  4. Search 10.3.x for trans
  5. Other projects
Title Object type File name Summary
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::__construct function core/modules/locale/src/LocaleTranslationSource.php
LocaleTranslationTest class core/modules/locale/tests/src/Unit/LocaleTranslationTest.php Tests Drupal\locale\LocaleTranslation.
LocaleTranslationTest class core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Tests Drupal\locale\LocaleTranslation.
LocaleTranslationTest.php file core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
LocaleTranslationTest.php file core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php
LocaleTranslationTest::$cache property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked cache to use when instantiating LocaleTranslation objects.
LocaleTranslationTest::$languageManager property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked language manager built from LanguageManagerInterface.
LocaleTranslationTest::$lock property core/modules/locale/tests/src/Unit/LocaleTranslationTest.php A mocked lock to use when instantiating LocaleTranslation objects.
LocaleTranslationTest::$modules property core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php Modules to install.
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::setUp function core/modules/locale/tests/src/Kernel/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 Tests 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 install.
LocaleTranslationUiTest::$useOneTimeLoginLinks property core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php Use one-time login links instead of submitting the login form.
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 Tests the rebuilding of JavaScript translation files 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 Sets up existing translations and their statuses in the database.
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_config_batch_update_config_translations function core/modules/locale/locale.bulk.inc Implements callback_batch_operation().
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_translation_path_config function core/modules/locale/locale.post_update.php Removes the translation.path config.
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_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.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_translatable_language_list function core/modules/locale/locale.module Returns list of translatable languages.

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