Details
-
Story
-
Resolution: Fixed
-
Medium
-
None
-
None
Description
EZP-25428 provides the base infrastructure to translate "simple" strings but it's not yet possible to translate strings with parameters. Also, on that topic, it's common to have strings with some HTML code. This specific use case can be tricky so it has to be taken into early in the design of such feature.
Syntax proposal:
{{ translate 'string.with.parameter' 'domain' variable1=value variable2='another thing' }}
Most likely, this also involves changing the Translation dumper to be able to detect such code.