Is it possible to automatically delete the invisible double spaces at the end of a segment?

Is there a setting that makes it possible to automatically change double spaces at the end of a segment into single spaces? These spaces are not shown in the segment itself, so I cannot do so while translating. They are in the source document, since this seems to be customary in US texts, but in Dutch, we use only one space.

Of course I can do a search and replace, but I cannot do so automatically, since there usually are a number of places in my texts where a number of spaces are deleted (if only the people writing these texts would learn how to NOT do that), so I would have to check each double space manually, which can be quite time consuming.  

So it would be so nice if Trados would give me the option to edit the intersegment spaces. Is that possible?

Parents Reply
  • I have the same problem here: Many US-English texts are written with double spaces between sentences. There doesn't seem to be any way to fix this from within Studio. Paul's suggestion doesn't seem to do the job neither. So, if the client wants a return package delivered, the target files in the package have all those double spaces in them, which is not acceptable in German. Consequently, on top of the return package, I have to deliver separate Word target files (German) with those double spaces manually removed. (And I have to advise the client not to use the target files from the package.) Very cumbersome, and for the client as well, since they cannot use the target files from the package...
Children
  • They only option would then be that the client removes the double spaces in the source files before they create a package.
    If they are not willing to do so, then it will not be possible to create a return package without the double spaces.
  • Ineke, I am completely with you that SDL Trados Studio should offer a solid solution, not a workaround, to this common issue.
    @Walter: This is not a rare problem, many people are facing it, and Ineke is right, the spaces are not shown and are not editable in the Studio Editor.

    In my opinion, the "Answered" status of this thread should be reverted to "Open" or "Pending" (or whatever the tag for unsolved issues is called) until this has been solved in a bug fix to Studio.
  • I completely disagree that this is a bug in Studio. It's definitely not! Studio is faithfully reproducing the style of the source document. The verified answer was presumably marked up by whoever asked the question, so I think that's ok too. If it doesn't answer the problem for you then opening another thread would be simple enough.

    However, I do think a solution could be found and this would be an enhancement. If SDL don't make this an option perhaps something through the AppStore, but it's not a bug.

    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

  • I tried using the All Content option, also showing the parts between segments, but they show one space, not too. And that space therefore cannot be deleted by searching for double spaces and replacing it with one space, so I would then have to delete all of these single in-between-segments spaces manually. And this is undoable. It is then less work to open the target files and delete the double spaces there, unless the file is of bad formatting quality, meaning that the source file already contains many spaces instead of tabs, for instances for underlining parts where something has to be entered later, by the user of the end product.

    Next to that, I then also delete all the unnecessary spaces before a return.
    It would be nice it that could be done automatically too.

    The problem would be solved if there would not be any in-between-segment-characters, including spaces.
    I for one would not mind if the return would be part of the segment. It would make it a lot easier to edit them too.
    If only in-between-segments-code would stay hidden (but made visible with 'all content') it would be an improvement, I guess.

  • Paul, I never said it was a bug in Studio, but it is an unwanted consequence of making certain parts of a text invisible/not part of a segment.

    And regarding the ''answered' state, my question was answered, there is a solution by showing 'all content', but it is a time consuming solution, that doesn't really work, for that reason.

    As said in my earlier answer: I would prefer to be able to see and edit all content.
    At the moment I am translating a book with many conversations in it. Many parts of that book are indented. This has meaning. However, I do not see that in Trados, so I often have to check the book with part is still part of the indented part, and which part isn't.

    All the same, there are times when the quotation marks are part of the segments, and other times when they are not. Why?
    As said, I would like to see ALL of the format and characters (including spaces) in a segment, to do the best job in the least time.
  • This brings up again the old debate about what a CAT tool should do and what not.
    Basically, the task of a CAT tool is to translate the "translatable" content of a document keeping its layout and formatting. This means that the target file will have the same layout and formatting as the source file.
    If the source file is badly formatted - whatever that means, it is and individual judgment - it is not up to the CAT tool to correct this, but to the author of the document or in a translation workflow to the project manager/translator. If the source document does not fit what you expect, then you ought to change it before you open it in Studio. This is the only proper way to ensure that your target documents look the way you want them to look.

    Walter
  • I agree that this is not a bug and that Studio is simply doing what it's supposed to be doing. The way I see this issue, which also affects our translations from time to time is that there are three solutions:

    1. Pre-translation: remove the extra spaces in the source document before processing it in Studio

    2. During translation: an alternative to Walter's excellent advice about displaying all content and making the change there (which would be my preferred method) is the option to use paragraph-based segmentation instead of sentence-based segmentation so the spaces between sentences will be shown as part of the segment to be modified during translation. After all, those extra spaces are part of the paragraph, not part of the sentence, and therefore there's nothing that can be done about them at sentence level. Here one would need to weigh which is more important and the greater time saver: using sentence-based segmentation and therefore probably getting better leverage from existing TMs or getting rid of the extra spaces within the segment during the translation process.

    3. Post-translation: remove the unwanted spaces in the target file. It's easy to create a macro for finding and replacing all instances of one dot followed by two spaces with one dot followed by one space. Then a shortcut to the macro can be placed in the Word ribbon and it will take one click to conduct this operation whenever needed.
  • Unknown said:
    At the moment I am translating a book with many conversations in it. Many parts of that book are indented. This has meaning. However, I do not see that in Trados, so I often have to check the book with part is still part of the indented part, and which part isn't.

    All the same, there are times when the quotation marks are part of the segments, and other times when they are not. Why?
    As said, I would like to see ALL of the format and characters (including spaces) in a segment, to do the best job in the least time.

    Hi Ineke,

    This sounds like one of those jobs where paragraph-based segmentation might be better than sentence-based segmentation.

  • Hi Nora,

    No, not really. There are many long sentences in this file already, and apparently Multiterm only looks up some 20 terms or so. If a sentence is longer, it skips the last part. Very annoying.
    So if I would change to paragraphs, there would be many more segments in which Multiterm doesn't look up all the words it 'knows', and since I highly value this option, it is of no use.

    Next to that, for this book, I made the project myself, so I was able to edit the source files beforehand. And even later on, once again, too.

    But when my clients send me a package, they have created it, with their source file, and their TM and then I am not able to edit the source file, will have to work with what they gave me.
  • Hi Ineke,
    Have you already thought about working with paragraph segmentation, in the case you don't have that much repetitions? You would see all spaces between sentences which are in the same paragraph. Spaces at the end of paragraph (= before a return) and at the beginning (indent) won't still be displayed. Which format is your original file? You may have possiblity there to "batch" erase spaces.
    Sébastien