Search for translation

  1. Search 9.5.x for translation
  2. Search 8.9.x for translation
  3. Search 10.3.x for translation
  4. Search 11.x for translation
  5. Search main for translation
  6. Other projects
Title Object type File name Summary
Automatic interface translation import group includes/locale.inc Functions to create batches for importing translations.
FieldTranslationsTestCase class modules/field/tests/field.test Unit test class for the multilanguage fields logic.
FieldTranslationsTestCase::$entity_type property modules/field/tests/field.test
FieldTranslationsTestCase::$field property modules/field/tests/field.test
FieldTranslationsTestCase::$field_name property modules/field/tests/field.test
FieldTranslationsTestCase::$instance property modules/field/tests/field.test
FieldTranslationsTestCase::checkTranslationRevisions function modules/field/tests/field.test Check if the field translation attached to the entity revision identified
by the passed arguments were correctly stored.
FieldTranslationsTestCase::getInfo function modules/field/tests/field.test
FieldTranslationsTestCase::setUp function modules/field/tests/field.test Set the default field storage backend for fields created during tests.
FieldTranslationsTestCase::testFieldAvailableLanguages function modules/field/tests/field.test Ensures that only valid values are returned by field_available_languages().
FieldTranslationsTestCase::testFieldDisplayLanguage function modules/field/tests/field.test Tests display language logic for translatable fields.
FieldTranslationsTestCase::testFieldFormTranslationRevisions function modules/field/tests/field.test Tests field translations when creating a new revision.
FieldTranslationsTestCase::testFieldInvoke function modules/field/tests/field.test Test the multilanguage logic of _field_invoke().
FieldTranslationsTestCase::testFieldInvokeMultiple function modules/field/tests/field.test Test the multilanguage logic of _field_invoke_multiple().
FieldTranslationsTestCase::testTranslatableFieldSaveLoad function modules/field/tests/field.test Test translatable fields storage/retrieval.
field_attach_prepare_translation function modules/field/field.attach.inc Prepares an entity for translation.
field_default_prepare_translation function modules/field/field.default.inc Copies source field values into the entity to be prepared.
field_has_translation_handler function modules/field/field.multilingual.inc Checks if a module is registered as a translation handler for a given entity.
hook_field_attach_prepare_translation_alter function modules/field/field.api.php Perform alterations on field_attach_prepare_translation().
hook_field_prepare_translation function modules/field/field.api.php Define custom prepare_translation behavior for this module's field types.
LocaleExportFunctionalTest::testExportTranslation function modules/locale/locale.test Test exportation of translations.
LocaleExportFunctionalTest::testExportTranslationTemplateFile function modules/locale/locale.test Test exportation of translation template file.
LocaleImportFunctionalTest::testAutomaticModuleTranslationImportLanguageEnable function modules/locale/locale.test Test automatic import of a module's translation files when a language is
enabled.
LocaleJavascriptTranslationTest class modules/locale/locale.test Functional tests for JavaScript parsing for translatable strings.
LocaleJavascriptTranslationTest::getInfo function modules/locale/locale.test
LocaleJavascriptTranslationTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleJavascriptTranslationTest::testFileParsing function modules/locale/locale.test
LocaleJavascriptTranslationTest::testNullValuesLocalesSource function modules/locale/locale.test Test handling of null values in JS parsing for PHP8.0+ deprecations.
LocaleTranslationFunctionalTest class modules/locale/locale.test Functional test for string translation and validation.
LocaleTranslationFunctionalTest::getInfo function modules/locale/locale.test
LocaleTranslationFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleTranslationFunctionalTest::testJavaScriptTranslation function modules/locale/locale.test
LocaleTranslationFunctionalTest::testStringSearch function modules/locale/locale.test Tests translation search form.
LocaleTranslationFunctionalTest::testStringTranslation function modules/locale/locale.test Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationFunctionalTest::testStringValidation function modules/locale/locale.test Tests the validation of the translation input.
locale_translation_filters function modules/locale/locale.admin.inc List locale translation filters that can be applied.
locale_translation_filter_form function modules/locale/locale.admin.inc Return form for locale translation filters.
locale_translation_filter_form_submit function modules/locale/locale.admin.inc Process result from locale translation filter form.
locale_translation_filter_form_validate function modules/locale/locale.admin.inc Validate result from locale translation filter form.
PathLanguageTestCase::testAliasTranslation function modules/path/path.test Test alias functionality through the admin interfaces.
poll_field_attach_prepare_translation_alter function modules/poll/poll.module Implements hook_field_attach_prepare_translation_alter().
TextTranslationTestCase class modules/field/modules/text/text.test
TextTranslationTestCase::$admin property modules/field/modules/text/text.test
TextTranslationTestCase::$format property modules/field/modules/text/text.test
TextTranslationTestCase::$translator property modules/field/modules/text/text.test
TextTranslationTestCase::getInfo function modules/field/modules/text/text.test
TextTranslationTestCase::setUp function modules/field/modules/text/text.test Sets up a Drupal site for running functional and integration tests.
TextTranslationTestCase::testTextField function modules/field/modules/text/text.test Test that a plaintext textfield widget is correctly populated.
TextTranslationTestCase::testTextFieldFormatted function modules/field/modules/text/text.test Check that user that does not have access the field format cannot see the
source value when creating a translation.
text_field_prepare_translation function modules/field/modules/text/text.module Implements hook_field_prepare_translation().

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