Skip to content

[Translation] Make placeholder prefix and suffix configurable #41

Description

@hruben

JSFV uses the same error messages as the Symfony constraints. So it appears only natural to me to use the same placeholder marks. However, jsfv.getComputeMessage() always sets these marks to '{{ ' and ' }}'.
It would save a lot of effort to have some easy way of changing this back to the ExposeTranslationBundle's default value of '%'. One option is to make the placeholder prefix and suffix a parameter in parameters.yml. Another option is to add a block around jsfv.getComputeMessage() so that it can be easily overridden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions