Measurement recognition error ins Studio 2022

Hello,

Although, measurements like m2 or m3 (the numbers are formatted in superscript) are set in Studio, the number in superscript is missing when I insert the expression:

Screenshot of Trados Studio showing two segments, one with '68717 m' missing the superscript '2' for square meters, and the other correctly displaying '68717 m2' with superscript.

As shown in the screenshot, only 68717 m can be placed in the target segment.

Is there a solution for this?

Sandor



Generated Image Alt-Text
[edited by: Trados AI at 9:30 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  •  

    I imagine if you press Ctrl+Shift+H you will find there are tags between the m and the 2 as shown in the first two segments below:

    Trados Studio screenshot showing segments 1 and 2 with broken blue underline indicating separate placeables, and segments 3 and 4 with continuous blue underline.

    You can tell this because the 2 is seen as a separate placeable as the blue underline is broken.  But if you look at my segments #3 and #4 you'll see the blue underline is not broken and the expression can be correctly inserted.

    The reason for this is down to how the source file was prepared.  However, I have no idea how to get the squared sign into word without the control tags to tell word how to handle the character.  I tried using Alt+0178 but this also added the tags.  I put the 2 into Word to demonstrate the difference by copy/pasting what's in the language resource template!  So it's clearly possibly... I just don't know how it's done and the most common way is probably to click on the superscript button in Word.

    One person who might know...  

    I'm not sure what would be a useful workaround as you need to apply the tags to get the superscript in place.  But at least they are handled when pre-translating or auto-propagating:

    Trados Studio screenshot displaying segments 1 and 2 with a green checkmark indicating correct insertion of the superscript '2' without broken blue underline.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:30 AM (GMT 0) on 29 Feb 2024]
  • I have no idea how to get the squared sign into word without the control tags

    Hi ,

    They may be Unicode characters, like:

    Superindex 2²

    Superindex 3³

    emoji
  •  

    They may be Unicode characters, like:

    Superindex 2²

    Superindex 3³

    Indeed... but how do you get them into Word?  I tried using the unicode codes and Word still adds the control tags around them.  The only way I was able to get them into Word was by copy pasting from the rules in Studio.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • ,

    Superindex 2 & 3 are in Word. Insert > Symbol:

    Microsoft Word's 'Insert Symbol' dialog box showing symbols with 'Superindex 2 & 3' highlighted in a red box.

    Then they are extracted without tags in Studio:

    Trados Studio segment view showing '23' extracted without tags, adjacent to the segment number '1'.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:30 AM (GMT 0) on 29 Feb 2024]
  •  

    Thanks for that.  Interestingly Word also says this:

    Screenshot showing the shortcut key assignment for superscript two as Alt+0178 in a symbols menu.

    But if I add it with the shortcut key the tags are there.  Using the mouse they are not.  I then changed the shortcut key to be Ctrl+Shift+m and this time it works.  Quite tricky I think:

    Screenshot of a document with text demonstrating the use of the shortcut key Alt+0178 to insert superscript two, with inconsistent results.

    I also tried a search & replace in Word but this is a bit inconsistent too... sometime this happens:

    Close-up screenshot of a document showing the text 'NCA 1   gy rt p let (68717 m2)' with the superscript two incorrectly formatted.

    Sometimes I can't find anything at all.  Quite a tricky one to resolve.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:31 AM (GMT 0) on 29 Feb 2024]
  • But if I add it with the shortcut key the tags are there.  Using the mouse they are not.  I then changed the shortcut key to be Ctrl+Shift+m and this time it works.  Quite tricky I think:

    Please note, that the tags are NOT surrounding the superscript number, which would still be strange, but at least would follow some logic. In your case the tags after using the shortcut do surround also the meter and the parenthesis... And this is really strange, as it seems to have applied some font change there.

    The symbols (these are NOT numbers) ² and ³ are present on a German keyboard and can be inserted using AltGr plus the number 2 or 3 from the number row above the letters. m² and m³ (a meter with a symbol ² or ³) is being recognized by Studio AFAIR. The combination m<superscript>2</superscript> is not treated as measurement unit, as it is an  alphanumeric string.

    This said, I mus admit, that the measurement recognition in Studio is working very reliable for me. To make my life easier I have created some auto correct rules to convert m2 to m² or m3 to m³. Also for 1/4 to ¼ and similar. I also use the option to insert a non-breaking space between number and measurement unit, which works properly too. However, to make sure all measurement units are separated with a non-breaking space from the numbers, I use a search and replace pattern with regex, which does the work for me.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

    emoji
Reply
  • But if I add it with the shortcut key the tags are there.  Using the mouse they are not.  I then changed the shortcut key to be Ctrl+Shift+m and this time it works.  Quite tricky I think:

    Please note, that the tags are NOT surrounding the superscript number, which would still be strange, but at least would follow some logic. In your case the tags after using the shortcut do surround also the meter and the parenthesis... And this is really strange, as it seems to have applied some font change there.

    The symbols (these are NOT numbers) ² and ³ are present on a German keyboard and can be inserted using AltGr plus the number 2 or 3 from the number row above the letters. m² and m³ (a meter with a symbol ² or ³) is being recognized by Studio AFAIR. The combination m<superscript>2</superscript> is not treated as measurement unit, as it is an  alphanumeric string.

    This said, I mus admit, that the measurement recognition in Studio is working very reliable for me. To make my life easier I have created some auto correct rules to convert m2 to m² or m3 to m³. Also for 1/4 to ¼ and similar. I also use the option to insert a non-breaking space between number and measurement unit, which works properly too. However, to make sure all measurement units are separated with a non-breaking space from the numbers, I use a search and replace pattern with regex, which does the work for me.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

    emoji
Children