Studio 2015: Checking for Trailing Spaces via QA?
Thread poster: Stefan Keller

Stefan Keller  Identity Verified
Germany
Local time: 16:01
English to German
Jul 6, 2015

Hi all,

I notice that in SDLXLIFF files that were exported from World Server (a file type I'm regularly working on) quite a lot of segments have trailing spaces. Obviously, these are required, because I found out by accident that removing them in the target leads to no space between sentences.

Is there a way in QA checker to automatically check if the target segment ends in a space when the source segment does, and throw an error if it does not? I can of course search manually, but this is very time consuming.

So, what I'd need is to check for "[any punctuation][space][end of segment]". Is this possible?

Thanks and best regards,
Stefan


Direct link Reply with quote
 

_stephan  Identity Verified
Germany
Local time: 16:01
English to German
RegEx Jul 6, 2015

Hi Stefan,

you can add a Regular Expression rule like this:

RegEx source: \s$
RegEx target: \s$
Condition: Report if source matches but not the target

Instead of \s you can also just type a space.

On a related note: In WorldServer, QA Checker profiles depend on the project type. In my particular case, most of the projects I deal with don't even have a project type assigned to them, so I always use the Apply Project Template plugin in Studio to quickly update QA rules and other settings.

Stephan


Direct link Reply with quote
 

Stefan Keller  Identity Verified
Germany
Local time: 16:01
English to German
TOPIC STARTER
THANK YOU!!! Jul 6, 2015

Hi Stephan,

Thanks so much, works like a charm.

Am I interpreting this correctly? A "$" is the reg-ex character for "end of segment marker"?

Best regards,
Stefan

[Edited at 2015-07-06 10:05 GMT]


Direct link Reply with quote
 

_stephan  Identity Verified
Germany
Local time: 16:01
English to German
RegEx Jul 6, 2015

Glad to hear it.

Technically it's "end of text" since RegEx doesn't understand the concept of segments, but in the end it's all the same.


Stephan


Direct link Reply with quote
 


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


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

Studio 2015: Checking for Trailing Spaces via QA?

Advanced search







memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »
SDL Trados Studio 2017 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2017 helps translators increase translation productivity whilst ensuring quality. Combining translation memory, terminology management and machine translation in one simple and easy-to-use environment.

More info »



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