Change record status: 
Project: 
Introduced in branch: 
11.4.x
Introduced in version: 
11.4.0
Description: 

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

Deprecated constant Replaced by

No public replacement

LOCALE_JS_STRING moved as local variable to _locale_parse_js_file()
LOCALE_JS_OBJECT moved as local variable to _locale_parse_js_file()
LOCALE_JS_OBJECT_CONTEXT moved as local variable to _locale_parse_js_file()
LOCALE_NOT_CUSTOMIZED FALSE
LOCALE_CUSTOMIZED TRUE
LOCALE_TRANSLATION_OVERWRITE_ALL moved as protected constant in LocaleSettingsForm
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED moved as protected constant in LocaleSettingsForm
LOCALE_TRANSLATION_OVERWRITE_NONE moved as protected constant in LocaleSettingsForm
LOCALE_TRANSLATION_STATUS_TTL moved as protected constant in TranslationStatusForm

Converted to enums

LOCALE_TRANSLATION_USE_SOURCE_LOCAL \Drupal\locale\Model\UsedSourceType::Local
LOCALE_TRANSLATION_USE_SOURCE_REMOTE_AND_LOCAL \Drupal\locale\Model\UsedSourceType::RemoteAndLocal
LOCALE_TRANSLATION_REMOTE \Drupal\locale\Model\TranslationSource::Remote
LOCALE_TRANSLATION_LOCAL \Drupal\locale\Model\TranslationSource::Local
LOCALE_TRANSLATION_CURRENT \Drupal\locale\Model\TranslationSource::Current
Impacts: 
Module developers
Site templates, recipes and distribution developers