[Studio 2014] Ctrl+Alt+space does not clear tags
Thread poster: Piotr Bienkowski

Piotr Bienkowski  Identity Verified
Poland
Local time: 10:38
Member (2005)
English to Polish
+ ...
Mar 2, 2015

I got this taggy excel file so I used the embedded content feature to isolate the tags. I had to define them as placeholders (single, unpaired tags), because some of them did not have the end tags of the pair in the same segment, and then Studio would throw an error during conversion.

Now, I get matches with wrong tags, so I want to remove them, but the Ctrl+Alt+Space shortcut does not work. Why doesn't it work on placeholder tags?




[Edited at 2015-03-02 18:48 GMT]


Direct link Reply with quote
 

SDL Community  Identity Verified
United Kingdom
Local time: 10:38
English
Because... Mar 2, 2015

... the Ctrl+Alt+Space command is for clearing formatting tags only. Placeholders do not represent formatting since you require an opening and closing tag.

So for example. If you use this solution then Ctrl+Alt+Space won't work:

Placeholder tag
</?[a-z][a-z0-9]*[^<>]*>

If you use this one it will:

Opening tag
<[a-z][a-z0-9]*[^<>]*>

Closing tag
</[a-z][a-z0-9]*[^<>]*>

Regards

Paul
SDL Community Support


Direct link Reply with quote
 

Piotr Bienkowski  Identity Verified
Poland
Local time: 10:38
Member (2005)
English to Polish
+ ...
TOPIC STARTER
So there is no way? Mar 3, 2015

So is there a command or shortcut to get rid of placeholder tags in one go or not?

When I used paired tags, when there was no closing tag in the segment, Studio threw an error and failed to convert the file to sdlxliff.


SDL Community wrote:

... the Ctrl+Alt+Space command is for clearing formatting tags only. Placeholders do not represent formatting since you require an opening and closing tag.

So for example. If you use this solution then Ctrl+Alt+Space won't work:

Placeholder tag


If you use this one it will:

Opening tag


Closing tag


Regards

Paul
SDL Community Support


P.S. Your tags went to /dev/null when your message was quoted.

[Edited at 2015-03-03 06:43 GMT]


Direct link Reply with quote
 

SDL Community  Identity Verified
United Kingdom
Local time: 10:38
English
Tags Mar 3, 2015

Piotr Bienkowski wrote:

So is there a command or shortcut to get rid of placeholder tags in one go or not?



No. I wish there was, but this is for formatting tags only. So if placeholders are misused then this doesn't apply.

Piotr Bienkowski wrote:

Placeholder tag
</?[a-z][a-z0-9]*[^<>]*>

If you use this one it will:

Opening tag
<[a-z][a-z0-9]*[^<>]*>

Closing tag
</[a-z][a-z0-9]*[^<>]*>

P.S. Your tags went to /dev/null when your message was quoted.


... unless you rewrite them with entities ProZ always does that!

On your error. This is most likely because you have to be careful with the rules when creating tag pairs. If you overlap anything with your regex then it's quite possible you'll cause a problem. The expression I gave you above was a generic catchall that won't always work. It does in most cases, but if you have a very taggy file it can also cause a problem. In this case you probably have to try and be more specific about the rules. It would be better if we had the same possibility for Excel as we have for XML with the HTML processor... maybe in a future release.

Regards

Paul
SDL Community Support


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 2014] Ctrl+Alt+space does not clear tags

Advanced search







WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »
SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »



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