⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

[VICH UPLOADER] inconsistency in translation management #7415

@So-Gau

Description

@So-Gau

Describe the bug

  • Vich allows for translation_domain to be added as for type options
  • Vich automatically compute the translation_domain according to options and default to messages
  • For some fields EA overrides this behavior and set translation_domain to VichUploaderBundle but for other it don't

To Reproduce
Instanciate a VichFileType input seee that vich_uploader.link.download isn't translated because the default domain is messages and not VichUploaderBundle. See that vich_uploader.form_label.delete_confirm is correctly translated using the messages domain.

Additional context
See templates/crud/form_theme.html.twig:324

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions