96 string references to 'Locale'
- BlockUiTest::testBlockPlacementIndicator in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests the block placement indicator.
- CKEditor5::getJSSettings in core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php - Returns JavaScript settings to be attached.
- CKEditor5::getLibraries in core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php - Returns libraries to be attached.
- ckeditor5_js_alter in core/
modules/ ckeditor5/ ckeditor5.module - Implements hook_js_alter().
- ckeditor5_library_info_alter in core/
modules/ ckeditor5/ ckeditor5.module - Implements hook_library_info_alter().
- CKEditor::getJSSettings in core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php - Returns JavaScript settings to be attached.
- CKEditorTest::testJSTranslation in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests that CKEditor plugins participate in JS translation.
- CommentAdminTest::testCommentedTranslationDeletion in core/
modules/ comment/ tests/ src/ Functional/ CommentAdminTest.php - Tests commented translation deletion admin view.
- ConfigurableLanguageManagerTest::setUp in core/
modules/ language/ tests/ src/ Functional/ ConfigurableLanguageManagerTest.php - Connection::createDatabase in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Connection.php - Overrides \Drupal\Core\Database\Connection::createDatabase().
- content_translation_help in core/
modules/ content_translation/ content_translation.module - Implements hook_help().
- d6_language_negotiation_settings.yml in core/
modules/ language/ migrations/ d6_language_negotiation_settings.yml - core/modules/language/migrations/d6_language_negotiation_settings.yml
- d6_language_types.yml in core/
modules/ language/ migrations/ d6_language_types.yml - core/modules/language/migrations/d6_language_types.yml
- d7_language_negotiation_settings.yml in core/
modules/ language/ migrations/ d7_language_negotiation_settings.yml - core/modules/language/migrations/d7_language_negotiation_settings.yml
- d7_language_types.yml in core/
modules/ language/ migrations/ d7_language_types.yml - core/modules/language/migrations/d7_language_types.yml
- default_language.yml in core/
modules/ language/ migrations/ default_language.yml - core/modules/language/migrations/default_language.yml
- demo_umami.info.yml in core/
profiles/ demo_umami/ demo_umami.info.yml - core/profiles/demo_umami/demo_umami.info.yml
- HelpTopicsSyntaxTest::verifyBadTopic in core/
modules/ help_topics/ tests/ src/ Functional/ HelpTopicsSyntaxTest.php - Verifies that a bad topic fails in the expected way.
- help_topics_help in core/
modules/ help_topics/ help_topics.module - Implements hook_help().
- ImportForm::submitForm in core/
modules/ locale/ src/ Form/ ImportForm.php - Form submission handler.
- InstallerLanguageTest::testInstallerTranslationCache in core/
tests/ Drupal/ KernelTests/ Core/ Installer/ InstallerLanguageTest.php - Tests profile info caching in non-English languages.
- InstallerNonEnglishProfileWithoutLocaleModuleTest::testNonEnglishProfileWithoutLocaleModule in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerNonEnglishProfileWithoutLocaleModuleTest.php - Tests installing a profile with non-English language and no locale module.
- install_download_additional_translations_operations in core/
includes/ install.core.inc - Prepares the system for import and downloads additional translations.
- install_finish_translations in core/
includes/ install.core.inc - Finishes importing files at end of installation.
- install_import_translations in core/
includes/ install.core.inc - Imports languages via a batch process during installation.
- install_profile_info in core/
includes/ install.inc - Retrieves information about an installation profile from its .info.yml file.
- install_tasks in core/
includes/ install.core.inc - Returns a list of all tasks the installer currently knows about.
- language_help in core/
modules/ language/ language.module - Implements hook_help().
- language_tour_tips_alter in core/
modules/ language/ language.module - Implements hook_tour_tips_alter().
- locale.migrate_drupal.yml in core/
modules/ locale/ migrations/ state/ locale.migrate_drupal.yml - core/modules/locale/migrations/state/locale.migrate_drupal.yml
- LocaleBuildTest::testBuildProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleBuildTest.php - Checks if a list of translatable projects gets built.
- LocaleConfigManagerTest::testGetStringTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigManagerTest.php - Tests getStringTranslation().
- LocaleConfigManagerTest::testHasTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigManagerTest.php - Tests hasTranslation().
- LocaleConfigSubscriberTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - LocaleConfigTranslationImportTest::testConfigTranslationImport in core/
modules/ locale/ tests/ src/ Functional/ LocaleConfigTranslationImportTest.php - Tests update changes configuration translations if enabled after language.
- LocaleConfigTranslationImportTest::testConfigTranslationWithNonEnglishLanguageDefault in core/
modules/ locale/ tests/ src/ Functional/ LocaleConfigTranslationImportTest.php - Tests setting a non-English language as default and importing configuration.
- LocaleConfigTranslationImportTest::testLocaleRemovalAndConfigOverrideDelete in core/
modules/ locale/ tests/ src/ Functional/ LocaleConfigTranslationImportTest.php - Tests removing a string from Locale deletes configuration translations.
- LocaleConfigTranslationImportTest::testLocaleRemovalAndConfigOverridePreserve in core/
modules/ locale/ tests/ src/ Functional/ LocaleConfigTranslationImportTest.php - Tests removing a string from Locale changes configuration translations.
- LocaleConfigurableLanguageManagerTest::testGetLanguages in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigurableLanguageManagerTest.php - LocaleController::checkTranslation in core/
modules/ locale/ src/ Controller/ LocaleController.php - Checks for translation updates and displays the translations status.
- LocaleFileSystemFormTest::testFileConfigurationPage in core/
modules/ locale/ tests/ src/ Functional/ LocaleFileSystemFormTest.php - Tests translation directory settings on the file settings form.
- LocaleLookup::__construct in core/
modules/ locale/ src/ LocaleLookup.php - Constructs a LocaleLookup object.
- LocalePluralFormatTest::testGetPluralFormat in core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php - Tests locale_get_plural() and \Drupal::translation()->formatPlural().
- LocaleStringTest::setUp in core/
modules/ locale/ tests/ src/ Kernel/ LocaleStringTest.php - LocaleTranslation::processItem in 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…
- LocaleTranslationCacheTag::saveTranslation in core/
modules/ locale/ src/ EventSubscriber/ LocaleTranslationCacheTag.php - Invalidate cache tags whenever a string is translated.
- LocaleTranslationDownloadTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationDownloadTest.php - LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleTranslationProjectsTest.php - Tests locale_translation_clear_cache_projects().
- LocaleUpdateDevelopmentReleaseTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateDevelopmentReleaseTest.php - LocaleUpdateTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateTest.php - LocaleUpdateTest::testUpdateProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleUpdateTest.php - Checks if a list of translatable projects gets build.
- locale_configurable_language_delete in core/
modules/ locale/ locale.module - Implements hook_ENTITY_TYPE_delete() for 'configurable_language'.
- locale_cron in core/
modules/ locale/ locale.module - Implements hook_cron().
- locale_cron_fill_queue in core/
modules/ locale/ locale.translation.inc - Populate a queue with project to check for translation updates.
- locale_form_language_admin_add_form_alter_submit in core/
modules/ locale/ locale.module - Form submission handler for language_admin_add_form().
- locale_settings.yml in core/
modules/ locale/ migrations/ locale_settings.yml - core/modules/locale/migrations/locale_settings.yml
- locale_system_remove in core/
modules/ locale/ locale.module - Delete translation history of modules and themes.
- locale_system_update in core/
modules/ locale/ locale.module - Imports translations when new modules or themes are installed.
- locale_translate_batch_finished in core/
modules/ locale/ locale.bulk.inc - Implements callback_batch_finished().
- locale_translate_get_interface_translation_files in core/
modules/ locale/ locale.bulk.inc - Get interface translation files present in the translations directory.
- locale_translation_batch_fetch_finished in core/
modules/ locale/ locale.batch.inc - Implements callback_batch_finished().
- locale_translation_batch_fetch_import in core/
modules/ locale/ locale.batch.inc - Implements callback_batch_operation().
- locale_translation_batch_update_build in core/
modules/ locale/ locale.fetch.inc - Builds a batch to check, download and import project translations.
- locale_translation_get_projects in core/
modules/ locale/ locale.translation.inc - Get array of projects which are available for interface translation.
- locale_translation_get_status in core/
modules/ locale/ locale.module - Gets the current translation status.
- locale_translation_http_check in core/
modules/ locale/ locale.batch.inc - Check if remote file exists and when it was last updated.
- locale_translation_status_save in core/
modules/ locale/ locale.module - Saves the status of translation sources in static cache.
- MigrateMenuTranslationTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d7/ MigrateMenuTranslationTest.php - MigrateUserConfigsTranslationTest::setUp in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserConfigsTranslationTest.php - MigrateUserConfigsTranslationTest::setUp in core/
modules/ config_translation/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserConfigsTranslationTest.php - MigrationPluginConfigurationTest::mergeProvider in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationPluginConfigurationTest.php - Provide configuration data for testing.
- MultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ MultilingualReviewPageTest.php - Gets the available upgrade paths.
- MultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ MultilingualReviewPageTest.php - Gets the available upgrade paths.
- MultilingualReviewPageTest::getAvailablePaths in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ MultilingualReviewPageTest.php - Gets the available upgrade paths.
- MultilingualReviewPageTest::getAvailablePaths in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ MultilingualReviewPageTest.php - Gets the available upgrade paths.
- NoMultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ NoMultilingualReviewPageTest.php - Gets the available upgrade paths.
- NoMultilingualReviewPageTest::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ NoMultilingualReviewPageTest.php - Gets the available upgrade paths.
- NoMultilingualReviewPageTest::getMissingPaths in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ NoMultilingualReviewPageTest.php - Gets the missing upgrade paths.
- NoMultilingualReviewPageTest::getMissingPaths in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ NoMultilingualReviewPageTest.php - Gets the missing upgrade paths.
- PagerTest::testPagerConfigTranslation in core/
modules/ views/ tests/ src/ Functional/ Plugin/ PagerTest.php - Tests translating the pager using config_translation.
- PagerTest::testPagerLocale in core/
modules/ views/ tests/ src/ Functional/ Plugin/ PagerTest.php - Tests translating the pager using locale.
- RegionalForm::buildForm in core/
modules/ system/ src/ Form/ RegionalForm.php - Form constructor.
- testing_multilingual.info.yml in core/
profiles/ testing_multilingual/ testing_multilingual.info.yml - core/profiles/testing_multilingual/testing_multilingual.info.yml
- testing_multilingual_with_english.info.yml in core/
profiles/ testing_multilingual_with_english/ testing_multilingual_with_english.info.yml - core/profiles/testing_multilingual_with_english/testing_multilingual_with_english.info.yml
- tour.tour.locale.yml in core/
modules/ locale/ config/ optional/ tour.tour.locale.yml - core/modules/locale/config/optional/tour.tour.locale.yml
- TranslationStatusForm::prepareUpdateData in core/
modules/ locale/ src/ Form/ TranslationStatusForm.php - Prepare information about projects with available translation updates.
- TranslationStatusForm::submitForm in core/
modules/ locale/ src/ Form/ TranslationStatusForm.php - Form submission handler.
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- Upgrade6Test::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ Upgrade6Test.php - Gets the available upgrade paths.
- Upgrade7Test::getAvailablePaths in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7Test.php - Gets the available upgrade paths.
- UpgradeTest::getAvailablePaths in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ UpgradeTest.php - Gets the available upgrade paths.
- UpgradeTest::getAvailablePaths in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ UpgradeTest.php - Gets the available upgrade paths.
- UserCancelTest::testUserAnonymizeTranslations in core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php - Delete account and anonymize all content and it's translations.
- UserMailNotifyTest::testUserRecoveryMailLanguage in core/
modules/ user/ tests/ src/ Kernel/ UserMailNotifyTest.php - Tests recovery email content and token langcode is aligned.
- _install_prepare_import in core/
includes/ install.core.inc - Tells the translation import process that Drupal core is installed.
- _locale_rebuild_js in core/
modules/ locale/ locale.module - (Re-)Creates the JavaScript translation file for a language.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.