Skip to content

Commit f1cf2d9

Browse files
committed
minor #20232 [Translation] Mention the support of segment attributes in XLIFF (javiereguiluz)
This PR was merged into the 7.2 branch. Discussion ---------- [Translation] Mention the support of segment attributes in XLIFF Fixes #20228. Commits ------- 7a8d0c4 [Translation] Mention the support of segment attributes in XLIFF
2 parents 2b8bf2a + 7a8d0c4 commit f1cf2d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/formats/xliff.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@ loaded/dumped inside a Symfony application:
2929
<note category="approved">true</note>
3030
<note category="section" priority="1">user login</note>
3131
</notes>
32-
<segment>
32+
<segment state="translated" subState="Some custom value">
3333
<source>original-content</source>
3434
<target>translated-content</target>
3535
</segment>
3636
</unit>
3737
</file>
3838
</xliff>
3939
40+
.. versionadded:: 7.2
41+
42+
The support of attributes in the ``<segment>`` element was introduced in Symfony 7.2.
43+
4044
.. _XLIFF: https://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html

0 commit comments

Comments
 (0)