In Studio 2015, how can I easily track if the sentence has an ending blank space?
Thread poster: Fredrik Pettersson

Fredrik Pettersson  Identity Verified
Hong Kong
Member (2009)
English to Swedish
+ ...
Jun 15, 2016

In Studio 2015, how can I easily track if the sentence has an ending blank space?

Normally it's just switch this function on in the top ribbon, but for a big document with more than 30,000 words where I am only translating a part of this and the rest are 100 % matches or context matches that should not be reviewed it's not the same thing. Or, I could of course filter and only display my translations. But I still would need to afterwards go through my translated segments one by one to look for sentences with ending blank spaces. Isn't there a more effective way of handling this?


 

Riccardo Schiaffino  Identity Verified
United States
Local time: 15:07
Member (2003)
English to Italian
+ ...
Use a regex expression in the filter Jun 15, 2016

You could use a regex expression in the filter, looking for a blank space before the end of the segment.

The regular expression for Studio would be

\s$

\s - stands for "white space" (includes any type of space... tabs, non breakable space and regular space)
$ - stands for "end of line" (or in Studio "end of segment")

The corresponding regular expression in Xbench (which uses a different flavor of regex) is

[:space:]$


 

Fredrik Pettersson  Identity Verified
Hong Kong
Member (2009)
English to Swedish
+ ...
TOPIC STARTER
Will try this Jun 15, 2016

Thanks Riccardo, this is very useful. These blank spaces almost always appear in every translated document, and it's time-consuming going through manually to find them. And they make an otherwise perfect translation look less than perfect.

 

Riccardo Schiaffino  Identity Verified
United States
Local time: 15:07
Member (2003)
English to Italian
+ ...
Bear in mind that sometimes the extra blank space is not in the segment Jun 15, 2016

What I found is that often the extra blank space is not actually in a segment, but ends up between two segments and never appears in Studio.

Sometimes it's better to do some preventive maintenance to strip the extra spaces out of the source text before loading it in Studio.


 

Walter Blaser  Identity Verified
Switzerland
Local time: 23:07
French to German
+ ...
Use the inbuilt QA function Jun 15, 2016

Fredrik

You may also set the QA option to flag extra spaces at the end of a segment. Go to "Project settings - Verification - QA Checker 3.0 - Punctuation - Check for extra space at the end of a segment". This will give you a warning every time you confirm a segment that has an extra space and therefore prevent this from happening in the first place. It will also flag these errors when you do it for the entire document using F8.

Walter


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

In Studio 2015, how can I easily track if the sentence has an ending blank space?

Advanced search







SDL Trados Studio 2017 only €435 / $519
Get the cheapest prices for SDL Trados Studio 2017 on ProZ.com

Join this translator’s group buy brought to you by ProZ.com and buy SDL Trados Studio 2017 Freelance for only €435 / $519 / £345 / ¥63000 You will also receive FREE access to Studio 2019 when released.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search