namespace Drupal\locale

Same name in other branches
  1. 11.x Drupal\locale
  2. 10 Drupal\locale
  3. 8.9.x Drupal\locale
Object name File name Summary
Gettext core/modules/locale/src/Gettext.php Static class providing Drupal specific Gettext functionality.
Locale core/modules/locale/src/Locale.php Static service container wrapper for locale.
LocaleConfigManager core/modules/locale/src/LocaleConfigManager.php Manages configuration supported in part by interface translation.
LocaleConfigSubscriber core/modules/locale/src/LocaleConfigSubscriber.php Updates strings translation when configuration translations change.
LocaleDefaultConfigStorage core/modules/locale/src/LocaleDefaultConfigStorage.php Provides access to default configuration for locale integration.
LocaleEvent core/modules/locale/src/LocaleEvent.php Defines a Locale event.
LocaleEvents core/modules/locale/src/LocaleEvents.php Defines events for locale translation.
LocaleLookup core/modules/locale/src/LocaleLookup.php A cache collector to allow for dynamic building of the locale cache.
LocaleProjectStorage core/modules/locale/src/LocaleProjectStorage.php Provides the locale project storage system using a key value store.
LocaleProjectStorageInterface core/modules/locale/src/LocaleProjectStorageInterface.php Defines the locale project storage interface.
LocaleTranslation core/modules/locale/src/LocaleTranslation.php String translator using the locale module.
PluralFormula core/modules/locale/src/PluralFormula.php Manages the storage of plural formula per language in state.
PluralFormulaInterface core/modules/locale/src/PluralFormulaInterface.php An interface for a service providing plural formulae.
PoDatabaseReader core/modules/locale/src/PoDatabaseReader.php Gettext PO reader working with the locale module database.
PoDatabaseWriter core/modules/locale/src/PoDatabaseWriter.php Gettext PO writer working with the locale module database.
SourceString core/modules/locale/src/SourceString.php Defines the locale source string object.
StringBase core/modules/locale/src/StringBase.php Defines the locale string base class.
StringDatabaseStorage core/modules/locale/src/StringDatabaseStorage.php Defines a class to store localized strings in the database.
StringInterface core/modules/locale/src/StringInterface.php Defines the locale string interface.
StringStorageException core/modules/locale/src/StringStorageException.php Defines an exception thrown when storage operations fail.
StringStorageInterface core/modules/locale/src/StringStorageInterface.php Defines the locale string storage interface.
TranslationString core/modules/locale/src/TranslationString.php Defines the locale translation string object.

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