module documentation

Undocumented

Constant E001 Undocumented
Constant E002 Undocumented
Constant E003 Undocumented
Constant E004 Undocumented
Function check​_language​_settings​_consistent Error if language settings are not consistent with each other.
Function check​_setting​_language​_code Error if LANGUAGE_CODE setting is invalid.
Function check​_setting​_languages Error if LANGUAGES setting is invalid.
Function check​_setting​_languages​_bidi Error if LANGUAGES_BIDI setting is invalid.
E001 =

Undocumented

Value
Error('You have provided an invalid value for the LANGUAGE_CODE setting: {!r}.',
      id='translation.E001')
E002 =

Undocumented

Value
Error('You have provided an invalid language code in the LANGUAGES setting: {!r}
.',
      id='translation.E002')
E003 =

Undocumented

Value
Error('You have provided an invalid language code in the LANGUAGES_BIDI setting:
 {!r}.',
      id='translation.E003')
E004 =

Undocumented

Value
Error('You have provided a value for the LANGUAGE_CODE setting that is not in th
e LANGUAGES setting.',
      id='translation.E004')
@register(Tags.translation)
def check_language_settings_consistent(app_configs, **kwargs):
Error if language settings are not consistent with each other.
@register(Tags.translation)
def check_setting_language_code(app_configs, **kwargs):
Error if LANGUAGE_CODE setting is invalid.
@register(Tags.translation)
def check_setting_languages(app_configs, **kwargs):
Error if LANGUAGES setting is invalid.
@register(Tags.translation)
def check_setting_languages_bidi(app_configs, **kwargs):
Error if LANGUAGES_BIDI setting is invalid.