0
我注意到在生成xliff文件後,它創建了名爲context-group
的節點。我不確定他們用於什麼。xliff中的<context-group>什麼是xliff
<trans-unit id="edc96753971323c438706da1820e74730a79d1af" datatype="html">
<source>Your response to this survey has already been recorded. Thank You.</source>
<context-group purpose="location">
<context context-type="sourcefile">app\core\forbidden.component.ts</context>
<context context-type="linenumber">5</context>
</context-group>
<note priority="1" from="description">Message for survey already taken</note>
<note priority="1" from="meaning">Survey Already Taken Page</note>
</trans-unit>
該節點的實際用途是什麼?順便說一句,謝謝你的答案。 – jengfad
你可以想象它具有提供關於映射和引用的附加信息的元數據。你可以在這裏看到更多的用法:http://docs.oasis-open.org/xliff/v1.2/xliff-profile-po/xliff-profile-po-1.2-cd02.html –