locale.schema.yml

Same filename in other branches
  1. 9 core/modules/locale/config/schema/locale.schema.yml
  2. 8.9.x core/modules/locale/config/schema/locale.schema.yml
  3. 11.x core/modules/locale/config/schema/locale.schema.yml
core/modules/locale/config/schema/locale.schema.yml

File

core/modules/locale/config/schema/locale.schema.yml

View source
  1. # Schema for the configuration files of the Locale module.
  2. locale.settings:
  3. type: config_object
  4. label: 'Translate interface settings'
  5. mapping:
  6. cache_strings:
  7. type: boolean
  8. label: 'Cache strings'
  9. translate_english:
  10. type: boolean
  11. label: 'Enable English translation'
  12. javascript:
  13. type: mapping
  14. label: 'JavaScript settings'
  15. mapping:
  16. directory:
  17. type: string
  18. label: 'Translation directory'
  19. translation:
  20. type: mapping
  21. label: 'Translation settings'
  22. mapping:
  23. use_source:
  24. type: string
  25. label: 'Translation source'
  26. default_filename:
  27. type: string
  28. label: 'Default translation filename pattern'
  29. default_server_pattern:
  30. type: string
  31. label: 'Default translation server pattern'
  32. overwrite_customized:
  33. type: boolean
  34. label: 'Overwrite customized translations'
  35. overwrite_not_customized:
  36. type: boolean
  37. label: 'Overwrite non customized translations'
  38. update_interval_days:
  39. type: integer
  40. label: 'Check for updates'
  41. path:
  42. type: string
  43. label: 'Interface translations directory'
  44. import_enabled:
  45. type: boolean
  46. label: 'Import enabled'

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