locale.routing.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. locale.settings:
  2. path: '/admin/config/regional/translate/settings'
  3. defaults:
  4. _form: 'Drupal\locale\Form\LocaleSettingsForm'
  5. _title: 'Interface translation settings'
  6. requirements:
  7. _permission: 'translate interface'
  8. locale.check_translation:
  9. path: '/admin/reports/translations/check'
  10. defaults:
  11. _controller: 'Drupal\locale\Controller\LocaleController::checkTranslation'
  12. requirements:
  13. _permission: 'translate interface'
  14. locale.translate_page:
  15. path: '/admin/config/regional/translate'
  16. defaults:
  17. _controller: '\Drupal\locale\Controller\LocaleController::translatePage'
  18. _title: 'User interface translation'
  19. requirements:
  20. _permission: 'translate interface'
  21. locale.translate_import:
  22. path: '/admin/config/regional/translate/import'
  23. defaults:
  24. _form: '\Drupal\locale\Form\ImportForm'
  25. _title: 'Interface translation import'
  26. requirements:
  27. _permission: 'translate interface'
  28. locale.translate_export:
  29. path: '/admin/config/regional/translate/export'
  30. defaults:
  31. _form: '\Drupal\locale\Form\ExportForm'
  32. _title: 'Interface translation export'
  33. requirements:
  34. _permission: 'translate interface'
  35. locale.translate_status:
  36. path: '/admin/reports/translations'
  37. defaults:
  38. _form: '\Drupal\locale\Form\TranslationStatusForm'
  39. _title: 'Available translation updates'
  40. requirements:
  41. _permission: 'translate interface'