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. Search 11.x for trans
  6. Other projects
Title Object type File name Summary
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.
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_save function core/modules/locale/locale.bulk.inc Implements callback_batch_operation().
locale_translate_batch_refresh function core/modules/locale/locale.bulk.inc Implements callback_batch_operation().
locale_translate_delete_translation_files function core/modules/locale/locale.bulk.inc Deletes interface translation files and translation history records.
locale_translate_file_attach_properties function core/modules/locale/locale.bulk.inc Generates file properties from filename and options.
locale_translate_file_create function core/modules/locale/locale.bulk.inc Creates a file object and populates the timestamp and hash properties.
locale_translate_get_interface_translation_files function core/modules/locale/locale.bulk.inc Get interface translation files present in the translations directory.
locale_translation_batch_fetch_build function core/modules/locale/locale.fetch.inc Builds a batch to download and import project translations.
locale_translation_batch_fetch_download function core/modules/locale/locale.batch.inc Implements callback_batch_operation().
locale_translation_batch_fetch_finished function core/modules/locale/locale.batch.inc Implements callback_batch_finished().
locale_translation_batch_fetch_import function core/modules/locale/locale.batch.inc Implements callback_batch_operation().
locale_translation_batch_status_build function core/modules/locale/locale.compare.inc Builds a batch to get the status of remote and local translation files.
locale_translation_batch_status_check function core/modules/locale/locale.batch.inc Implements callback_batch_operation().
locale_translation_batch_status_finished function core/modules/locale/locale.batch.inc Implements callback_batch_finished().
locale_translation_batch_update_build function core/modules/locale/locale.fetch.inc Builds a batch to check, download and import project translations.
locale_translation_batch_version_check function core/modules/locale/locale.batch.inc Implements callback_batch_operation().
locale_translation_build_projects function core/modules/locale/locale.compare.inc Builds list of projects and stores the result in the database.
locale_translation_build_server_pattern function core/modules/locale/locale.translation.inc Build path to translation source, out of a server path replacement pattern.
locale_translation_build_sources function core/modules/locale/locale.translation.inc Build translation sources.
locale_translation_check_projects function core/modules/locale/locale.compare.inc Check for the latest release of project translations.
locale_translation_check_projects_batch function core/modules/locale/locale.compare.inc Gets and stores the status and timestamp of remote po files.
locale_translation_check_projects_local function core/modules/locale/locale.compare.inc Check and store the status and timestamp of local po files.
locale_translation_clear_cache_projects function core/modules/locale/locale.translation.inc Clears the projects cache.
locale_translation_clear_status function core/modules/locale/locale.module Clear the translation status cache.
LOCALE_TRANSLATION_CURRENT constant core/modules/locale/locale.module Translation source is the current translation.
locale_translation_default_translation_server function core/modules/locale/locale.compare.inc Retrieve data for default server.
locale_translation_download_source function core/modules/locale/locale.batch.inc Downloads a translation file from a remote server.
locale_translation_file_history_delete function core/modules/locale/locale.module Deletes the history of downloaded translations.
locale_translation_flush_projects function core/modules/locale/locale.compare.inc Clear the project data table.

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