Skip to main content
Known Participant
August 4, 2009
Question

Is there any way you can universally remove text by conditional build tag?

  • August 4, 2009
  • 1 reply
  • 481 views

Hi,

I hope someone may be able to help...

While trying to create cost-friendly Help projects for translation for our international versions, our Help Author has tagged non-essential text as 'Not_for_translation' in our Help projects.

I know that this enables us to build a cut down version, but its is still quite a job for our translators to navigate around these tags... and makes it almost impossible to analyse the files for word counts ect.

Is there any way that you can universally remove text by a conditional tag attribute in a RoboHelp project?

This topic has been closed for replies.

1 reply

RoboColum_n_
Legend
August 5, 2009

You could try and experiment with a good find and replace tool (e.g. FAR) that allows you to find text strings that contain the condition tag. The trouble is the tag could be applied to all sorts of HTML tags (e.g. images, styles, tables, etc.) so it could be a very hit and miss business.

If you have RH8 this may be a little easier as the tag will start with <?rh-cbt_start condition="tagname" ?> and end with <?rh-cbt_end ?><?rh-cbt_end ?> so you may be able to do a find for the text string that starts and ends with these and just replace it with no text. Before trying anything, take a backup though.


Read the RoboColum(n).