Hi,
We're looking for feedback on the a behavior when writing multiline patterns in Fluent.
The decision we're trying to make is whether this message:
this-is-my-key =
Lorem ipsum dolor sit amet, consectetur adipiscing.
Nam vehicula tortor id blandit imperdiet. Sed a quam non
nisl eleifend auctor ac sit amet nibh. Nullam eleifend eros nunc,
id bibendum odio volutpat ut. Curabitur vitae lorem at diam
dignissim eleifend. Phasellus vitae diam sapien.
should be possible to be written as:
this-is-my-key = Lorem ipsum dolor sit amet, consectetur adipiscing.
Nam vehicula tortor id blandit imperdiet. Sed a quam non
nisl eleifend auctor ac sit amet nibh. Nullam eleifend eros nunc,
id bibendum odio volutpat ut. Curabitur vitae lorem at diam
dignissim eleifend. Phasellus vitae diam sapien.
In the former case, we would establish the pattern indent based on the first line of the value and use it as the base indent for the rest of the message.
In the latter case, we would use the indent of the second line of the value as the base for the rest of the value.
- Would you be surprised if Fluent did not allow for variant 2?
- Do you think you would find it limiting to not be able to use variant 2?
- When writing your own Fluent files, which variant would you be more likely to choose?