Change record status: 
Project: 
Introduced in branch: 
11.5.x
Introduced in version: 
11.5.0
Description: 

Global constants from Local module are deprecated and replaced according to the following table:

LocaleTranslationSource now has three helpers:
getType will return the SourceType enum.
getFile will return the file for the current type.
isUpdateAvailable returns true if the type is local or current.

Deprecated constant Replaced by
LOCALE_JS_STRING moved as local variable to LocaleJs::parseJsFile()
LOCALE_JS_OBJECT moved as local variable to LocaleJs::parseJsFile()
LOCALE_JS_OBJECT_CONTEXT moved as local variable to LocaleJs::parseJsFile()
LOCALE_NOT_CUSTOMIZED moved to LocaleDefaultOptions::NOT_CUSTOMIZED
LOCALE_CUSTOMIZED moved to LocaleDefaultOptions::CUSTOMIZED
LOCALE_TRANSLATION_USE_SOURCE_LOCAL \Drupal\locale\Model\TranslationUpdateMode::Local
LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL \Drupal\locale\Model\TranslationUpdateMode::RemoteAndLocal
LOCALE_TRANSLATION_STATUS_TTL inlined in TranslationStatusForm
LOCALE_TRANSLATION_OVERWRITE_ALL \Drupal\locale\Model\Overwrite::All
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED \Drupal\locale\Model\Overwrite::NonCustomized
LOCALE_TRANSLATION_OVERWRITE_NONE \Drupal\locale\Model\Overwrite::None
LOCALE_TRANSLATION_REMOTE \Drupal\locale\Model\SourceType::Remote
LOCALE_TRANSLATION_LOCAL \Drupal\locale\Model\SourceType::Local
LOCALE_TRANSLATION_CURRENT \Drupal\locale\Model\SourceType::Current
Impacts: 
Module developers
Site templates, recipes and distribution developers