LocaleConfigManager::$configManager

The configuration manager. Type: \Drupal\Core\Config\ConfigManagerInterface File core/modules/locale/src/LocaleConfigManager.php, line 99 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code protected $configManager;

LocaleConfigManager::$configFactory

The configuration factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/modules/locale/src/LocaleConfigManager.php, line 62 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code protected $configFactory;

LocaleConfigManager

Manages configuration supported in part by interface translation. This manager is responsible to update configuration overrides and active translations when interface translation data changes. This allows Drupal to translate user roles, views, blocks, etc. after Drupal has been installed using the locale module's storage. When translations change in locale, LocaleConfigManager::updateConfigTranslations() is invoked to update the corresponding storage of the translation in the original config ob

Locale::config

public static Locale::config() Returns the locale configuration manager service. Use the locale config manager service for creating locale-wrapped typed configuration objects. Return value \Drupal\locale\LocaleConfigManager See also \Drupal\Core\TypedData\TypedDataManager::create() File core/modules/locale/src/Locale.php, line 20 Class Locale Static service container wrapper for locale. Namespace Drupal\locale Code public static function config() { return \Drupal::service('locale.c

locale.translation.inc

Common API for interface translation. File core/modules/locale/locale.translation.inc Functions Name Description locale_cron_fill_queue Populate a queue with project to check for translation updates. locale_translation_build_server_pattern Build path to translation source, out of a server path replacement pattern. locale_translation_build_sources Build translation sources. locale_translation_clear_cache_projects Clears the projects cache. locale_translation_get_projects

locale.pages.inc

Interface translation summary, editing and deletion user interfaces. File core/modules/locale/locale.pages.inc Functions Name Description locale_translation_manual_status Page callback: Checks for translation updates and displays the status. template_preprocess_locale_translation_last_check Prepares variables for most recent translation update templates. template_preprocess_locale_translation_update_info Prepares variables for translation status information templates.

locale.module

Enables the translation of the user interface to languages other than English. When enabled, multiple languages can be added. The site interface can be displayed in different languages, and nodes can have languages assigned. The setup of languages and translations is completely web based. Gettext portable object files are supported. File core/modules/locale/locale.module Functions Name Description locale_cache_flush Implements hook_cache_flush(). locale_configurable_language_delete

locale.install

Install, update, and uninstall functions for the Locale module. File core/modules/locale/locale.install Functions Name Description locale_install Implements hook_install(). locale_requirements Implements hook_requirements(). locale_schema Implements hook_schema(). locale_uninstall Implements hook_uninstall().

locale.fetch.inc

The API for download and import of translations from remote and local sources. File core/modules/locale/locale.fetch.inc Functions Name Description locale_translation_batch_fetch_build Builds a batch to download and import project translations. locale_translation_batch_update_build Builds a batch to check, download and import project translations. _locale_translation_fetch_operations Helper function to construct the batch operations to fetch translations.

locale.compare.inc

The API for comparing project translation status with available translation. File core/modules/locale/locale.compare.inc Functions Name Description locale_translation_batch_status_build Builds a batch to get the status of remote and local translation files. locale_translation_build_projects Builds list of projects and stores the result in the database. locale_translation_check_projects Check for the latest release of project translations. locale_translation_check_projects_ba