Copy link to clipboard
Copied
Hi,
I have the HTML tag <span lang="EN-GB" xml:lang="EN-GB"> everywhere in my project.
Can I get rid of this with search and replace and if so what do I replace it with?
(Working with RH9 but projects originate from RHX5)
Thanks
Morven
Copy link to clipboard
Copied
I saw that in your project that I looked at for your offline question and wondered what it was about. Normally that would be used in a project where you have multiple languages but I didn't think you would differentiate between US English and UK English. Maybe you are not aware they are also known as Universal English and International English respectively, does that ring any bells with anything you have done.
Also did you get my email reply to your other problem?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Morven
I just took another look at the sample project you sent and I am puzzled as to how those spans got applied. RoboHelp 9 allows you to set the language at project, topic and paragraph level but you have it at character level. Do you have any ideas as to how it got there?
As to removing it, I thought maybe right clicking and using Remove Attributes would be the safest way but you cannot see from all the attributes in the dialog which ones relate to language, plus it would be very time consuming.
If you use multi file Find and Replace there are practical problems but they can be resolved.
I just tried it on you sample and it worked but do back up your full project before you try the above and keep the backup until you have tested afterwards. I think it should be OK but better safe than sorry.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
HI Peter,
First of all thanks again for your help with the offline question.
Regarding the <span lang="EN-GB" xml:lang="EN-GB"> - I just had a look at the RHX5 files and there there are a lot of <span lang=EN-GB> tags.
These files originate from even before RHX5 so who knows where these tags came from - been around for ever.
Will try your suggestions below.
Thanks
Morven