Problems with RTL text direction of target .srt file in Hebrew

Hello!

I'm using the subtitling app in Trados Studio 2021 and have translated an .srt file from English to Hebrew.

On the edit screen, the Hebrew text is represented correctly, however, the target translation file has issues with RTL word order.

The text is in the correct order but punctuation marks that should be at the end of the line are now at the beginning of the line.

I hope that someone can help me, I would be really grateful!

Kind regards,

Ebba Tate

  • Hello ,

    So that we can try and reproduce this, can you tell us please the exact version of Studio you are running please (Help About Trados Studio) and whether you are using SRT file type out of the box, or the downloaded version from the AppStore.

    It would be good if you could also share a sample file and screenshots of what you are seeing and what would be expected.

    Lydia Simplicio | 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

  • Hi Steven,

     Screenshot of Trados Studio editor showing Hebrew text with correct punctuation placement at the end of lines.Screenshot of Trados Studio target translation where punctuation marks are incorrectly placed at the beginning of lines instead of the end.

    I use Trados Studio 2021 SR1 - 16.1.8.4404.

    I have attached two screenshots:

    • from the editor, where the Hebrew text is correctly represented
    • from the target translation, where the punctuation marks appear at the beginning of the line instead of the end of the line.

    I am using the app that comes with the software, meaning I simply translate a .srt file, just like any other file.

    I really appreciate your help in this matter.

    Kind regards,

    Ebba

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 4:00 AM (GMT 0) on 29 Feb 2024]
  • Hi Steven,

    I would just like to add that I have the following plug-ins installed. I forgot about these.

    Screenshot of Trados Studio RWS AppStore showing installed plug-ins: ASS filetype, SRT filetype, STL filetype by SDL Community Developers, and Studio Subtitling by RWS AppStore Team. There are no visible errors or warnings.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 4:00 AM (GMT 0) on 29 Feb 2024]
  • What happens if you delete the SRT filetype and use the out of the box subtitling filetype for this instead?  So remove or disable this filetype and create the project again using this one:

    Trados Studio Options window showing File Types information with Subtitle Formats selected and details of the SRT filetype displayed.

    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 4:00 AM (GMT 0) on 29 Feb 2024]
  • Hi Paul,

    thanks for the suggestion. I tried that by creating a new project and disabling the SRT file, as you suggested. I noted that the file type is now the CC Subtitle formats, as shown in your screenshot. Unfortunately, the outcome was the same. The target file has exactly the same problems as in the previous example.

    Kind regards,

    Ebba

  • Please you provide me with the translated sdlxliff file, and the source SRT?  You can email it to pfilkin@rws.com if you don't wish to post it in here.... and if it's acceptable to share it with me?

    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

  • Hi Paul,

    sure, I'll send them to your email address. Thanks for the help!!

    Kind regards,

    Ebba

  • Thanks

    I have verified the problem and logged a support case - 00625233 - for the problem.  Once the support team have validated this they will most likely escalate to development for a fix.

    In the meantime you could fix this fairly easily in a text editor that supports regex.  For example, search for this:

    (.+)\.(?<=.)\r$

    Replace with this:

    .$1

    At least that's the syntax for the editor I use.  I'll send you the file you sent me so you can check it and perhaps it'll be helpful?

    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

  • Hi Paul,

    I'm glad that you were able to verify this as a bug and I look forward to the next software update.

    Meanwhile, I tried your suggestion in Notepad++, but unfortunately, it did not work. Please see the screenshot.

    Screenshot of Notepad++ showing a 'Find' dialog box with a regular expression search that yields the message 'Can't find the text'.

    Furthermore, I took a look at the .srt file you fixed, and there is still an issue involving the mix of Hebrew and Latin characters.

    Screenshot of a .srt file opened in Notepad with Hebrew and Latin characters, showing a marked sequence of elements with arrows indicating the correct order.

    The leftmost three elements should appear on the right in the order I marked, i.e. the line should look like this:

    Close-up view of the .srt file text in Notepad highlighting the mix of Hebrew and Latin characters with the brand name 'DHL' in the wrong position.

    I hope this information helps to solve the problem.

    Many thanks for your support!!

    Kind regards,

    Ebba

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 4:00 AM (GMT 0) on 29 Feb 2024]
  • ok - looks like you might need \r\n in the expression instead for Notepad++... or something like that.

    But that will only get you what I did and won't address the trickier problem you have identified here.  Probably possible to handle this with regex too, but needs a little more thinking time.  If I get time later I'll take a look.

    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

1 2