-
Bug
-
Resolution: Fixed
-
None
-
Medium
-
Make usage of resname selectable in file format settings
-
Emptyshow more show less
Problem
With the introduction of the resname functionality, if there is a resname value present in the Okapi-processed xlf, it will always affect the match rate and repetition behaviour. However, some filetypes do have resnames but without any informational value. E. g. Okapi xlf for Excel uses worksheet and cell information as resname thus preventing the following "Article number" from being considered a repetition:
<group id="P132303AB-sg2" resname="2">
<trans-unit id="P147242AB-tu2" resname="Sheet1!A2" xml:space="preserve">
<source xml:lang="en-GB">Article number</source>
<seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source>
<target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target>
</trans-unit>
</group>
<group id="P132303AB-sg3" resname="3">
<trans-unit id="P147242AB-tu3" resname="Sheet1!A3" xml:space="preserve">
<source xml:lang="en-GB">Spare part</source>
<seg-source><mrk mid="0" mtype="seg">Spare part</mrk></seg-source>
<target><mrk mtype="seg" mid="0">Ersatzteil</mrk></target>
</trans-unit>
</group>
<group id="P132303AB-sg4" resname="4">
<trans-unit id="P147242AB-tu4" resname="Sheet1!A4" xml:space="preserve">
<source xml:lang="en-GB">Article number</source>
<seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source>
<target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target>
</trans-unit>
</group>
<group id="P132303AB-sg5" resname="5">
<trans-unit id="P147242AB-tu5" resname="Sheet1!A5" xml:space="preserve">
<source xml:lang="en-GB">Accessory part</source>
<seg-source><mrk mid="0" mtype="seg">Accessory part</mrk></seg-source>
<target><mrk mtype="seg" mid="0"></mrk></target>
</trans-unit>
</group>
<group id="P132303AB-sg6" resname="6">
<trans-unit id="P147242AB-tu6" resname="Sheet1!A6" xml:space="preserve">
<source xml:lang="en-GB">Article number</source>
<seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source>
<target><mrk mtype="seg" mid="0">Artikelnummer</mrk></target>
</trans-unit>
</group>
Solution
Add the possibility in the file format settings per file type to use or not use resnames. Make "use resname" the default for any filetype except Excel.
[TRANSLATE-4584] make usage of resname selectable in file format settings
Resolution | New: Fixed [ 1 ] | |
Status | Original: Releasable [ 10901 ] | New: Done [ 10000 ] |
Fix Version/s | New: translate5 - 7.21.3 [ 14602 ] |
Status | Original: Final pull request [ 10005 ] | New: Releasable [ 10901 ] |
Status | Original: In Progress [ 3 ] | New: Final pull request [ 10005 ] |
ChangeLog Description | New: Make usage of resname selectable in file format settings |
Status | Original: Selected for dev [ 10100 ] | New: In Progress [ 3 ] |
Rank | New: Ranked higher |
Description |
Original:
h1. Problem
With the introduction of the resname functionality, if there is a resname value present in the Okapi-processed xlf, it will always affect the match rate and repetition behaviour. However, some filetypes do have resnames but without any informational value. E. g. Okapi xlf for Excel uses worksheet and cell information as resname thus preventing the following "Article number" from being considered a repetition: <group id="P132303AB-sg2" resname="2"> <trans-unit id="P147242AB-tu2" resname="{*}Sheet1!A2{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target> </trans-unit> </group> <group id="P132303AB-sg3" resname="3"> <trans-unit id="P147242AB-tu3" resname="Sheet1!A3" xml:space="preserve"> <source xml:lang="en-GB">Spare part</source> <seg-source><mrk mid="0" mtype="seg">Spare part</mrk></seg-source> <target><mrk mtype="seg" mid="0">Ersatzteil</mrk></target> </trans-unit> </group> <group id="P132303AB-sg4" resname="4"> <trans-unit id="P147242AB-tu4" resname="{*}Sheet1!A4{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target> </trans-unit> </group> <group id="P132303AB-sg5" resname="5"> <trans-unit id="P147242AB-tu5" resname="Sheet1!A5" xml:space="preserve"> <source xml:lang="en-GB">Accessory part</source> <seg-source><mrk mid="0" mtype="seg">Accessory part</mrk></seg-source> <target><mrk mtype="seg" mid="0"></mrk></target> </trans-unit> </group> <group id="P132303AB-sg6" resname="6"> <trans-unit id="P147242AB-tu6" resname="{*}Sheet1!A6{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikelnummer</mrk></target> </trans-unit> </group> h1. Solution Add the possibility in the file format settings per file type to use or not use resnames. |
New:
h1. Problem
With the introduction of the resname functionality, if there is a resname value present in the Okapi-processed xlf, it will always affect the match rate and repetition behaviour. However, some filetypes do have resnames but without any informational value. E. g. Okapi xlf for Excel uses worksheet and cell information as resname thus preventing the following "Article number" from being considered a repetition: <group id="P132303AB-sg2" resname="2"> <trans-unit id="P147242AB-tu2" resname="{*}Sheet1!A2{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target> </trans-unit> </group> <group id="P132303AB-sg3" resname="3"> <trans-unit id="P147242AB-tu3" resname="Sheet1!A3" xml:space="preserve"> <source xml:lang="en-GB">Spare part</source> <seg-source><mrk mid="0" mtype="seg">Spare part</mrk></seg-source> <target><mrk mtype="seg" mid="0">Ersatzteil</mrk></target> </trans-unit> </group> <group id="P132303AB-sg4" resname="4"> <trans-unit id="P147242AB-tu4" resname="{*}Sheet1!A4{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target> </trans-unit> </group> <group id="P132303AB-sg5" resname="5"> <trans-unit id="P147242AB-tu5" resname="Sheet1!A5" xml:space="preserve"> <source xml:lang="en-GB">Accessory part</source> <seg-source><mrk mid="0" mtype="seg">Accessory part</mrk></seg-source> <target><mrk mtype="seg" mid="0"></mrk></target> </trans-unit> </group> <group id="P132303AB-sg6" resname="6"> <trans-unit id="P147242AB-tu6" resname="{*}Sheet1!A6{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikelnummer</mrk></target> </trans-unit> </group> h1. Solution Add the possibility in the file format settings per file type to use or not use resnames. Make "use resname" the default for any filetype except Excel. |
Status | Original: Open [ 10002 ] | New: Selected for dev [ 10100 ] |
Description |
Original:
h1. Problem
With the introduction of the resname functionality, if there is a resname value present in the processed xlf, it will always affect the match rate and repetition behaviour. However, some filetypes do have resnames but without any informational value. E. g. Okapi xlf for Excel uses worksheet and cell information as resname h1. Solution |
New:
h1. Problem
With the introduction of the resname functionality, if there is a resname value present in the Okapi-processed xlf, it will always affect the match rate and repetition behaviour. However, some filetypes do have resnames but without any informational value. E. g. Okapi xlf for Excel uses worksheet and cell information as resname thus preventing the following "Article number" from being considered a repetition: <group id="P132303AB-sg2" resname="2"> <trans-unit id="P147242AB-tu2" resname="{*}Sheet1!A2{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target> </trans-unit> </group> <group id="P132303AB-sg3" resname="3"> <trans-unit id="P147242AB-tu3" resname="Sheet1!A3" xml:space="preserve"> <source xml:lang="en-GB">Spare part</source> <seg-source><mrk mid="0" mtype="seg">Spare part</mrk></seg-source> <target><mrk mtype="seg" mid="0">Ersatzteil</mrk></target> </trans-unit> </group> <group id="P132303AB-sg4" resname="4"> <trans-unit id="P147242AB-tu4" resname="{*}Sheet1!A4{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikel-Nummer</mrk></target> </trans-unit> </group> <group id="P132303AB-sg5" resname="5"> <trans-unit id="P147242AB-tu5" resname="Sheet1!A5" xml:space="preserve"> <source xml:lang="en-GB">Accessory part</source> <seg-source><mrk mid="0" mtype="seg">Accessory part</mrk></seg-source> <target><mrk mtype="seg" mid="0"></mrk></target> </trans-unit> </group> <group id="P132303AB-sg6" resname="6"> <trans-unit id="P147242AB-tu6" resname="{*}Sheet1!A6{*}" xml:space="preserve"> <source xml:lang="en-GB">{*}Article number{*}</source> <seg-source><mrk mid="0" mtype="seg">Article number</mrk></seg-source> <target><mrk mtype="seg" mid="0">Artikelnummer</mrk></target> </trans-unit> </group> h1. Solution Add the possibility in the file format settings per file type to use or not use resnames. |