TagEditor spaces before and after tags
Thread poster: matt robinson

matt robinson  Identity Verified
Spain
Local time: 20:11
Member (2010)
Spanish to English
Aug 11, 2011

Reviewing a document I've produced in TagEditor I see that I've missed some spaces before tags, causing words to join up. Is there any way of setting it up so that it always leaves a space before and/or after tags? Can I now correct my mistakes without having to go through the whole document manually?

Thanks.


Direct link Reply with quote
 

Tomás Cano Binder, BA, CT  Identity Verified
Spain
Local time: 20:11
Member (2005)
English to Spanish
+ ...
Not that I know of... Aug 11, 2011

Unfortunately I don't know of any way of doing so. It would also be incorrect to add spaces all the time, given the enormous range of possible tags available. A majority of tags are formatting tags that should not have spaces before or after them.

If you know the exact tags that should have the space, there is a little trick I can recommend:
- Open the TTX file in MS Word or any text editor with find and replace.

- Do a global search and replace for the tag, replacing it with space, the tag, and another space. This will add a space even if there is already one.

- Once you have added spaces before and after the tags you are sure require the spaces, you will end up with many places with double spaces. To convert them to a single space, do a global search and replace for two spaces, replacing with one space. Repeat until you have no double spaces.

- Save the TTX file and work with it normally.

(The TTX file is in UTF-8 encoding, in case you are asked by the text editor.)

I hope this is useful in some way!

[Edited at 2011-08-12 09:48 GMT]


Direct link Reply with quote
 

Martina-K  Identity Verified
Germany
Local time: 20:11
Italian to German
+ ...
Space after tag for next translation project Aug 12, 2011

You cannot automatically insert a space before a tag in TagEditor (as far as I know) but after every tag (which may be useful for your next translation project).
In Translator's Workbench go to the Options menu - Translation Memory Options - General and there you may activate the option "Insert blank after tag".

HTH


Direct link Reply with quote
 

matt robinson  Identity Verified
Spain
Local time: 20:11
Member (2010)
Spanish to English
TOPIC STARTER
Thanks Aug 12, 2011

Thanks to both of you.

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 »

TagEditor spaces before and after tags

Advanced search







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 »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

More info »



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