HTML tags in RESX files Thread poster: Oleksandr Studenyak
|
Hello, I am trying to analyze RESX files with HTML tags inside of value tag in SDL Studio 2014 and it looks like HTML tags are included in word count. For example if I am analyzing following string: then total number of words is 14. But if HTML tags are removed, i.e. string looks like this: ... See more Hello, I am trying to analyze RESX files with HTML tags inside of value tag in SDL Studio 2014 and it looks like HTML tags are included in word count. For example if I am analyzing following string: then total number of words is 14. But if HTML tags are removed, i.e. string looks like this: than total number of words is only 6. Is there any way to exclude HTML tags from total word count in this case? Thanks, Alex ▲ Collapse | | | What tags are these? | Sep 3, 2015 |
Hi Oleksandr, The reserved characters you show here don't make a lot sense to me. As far as I can see there is only one correct one there and thats the "& g t ;" (I separated with spaces to avoid the forum converting them) The "& a l t ;" looks as though it's intended to be "& l t ;" perhaps, and I have no idea what "li" is supposed to be? This might be your first problem. Regards ... See more Hi Oleksandr, The reserved characters you show here don't make a lot sense to me. As far as I can see there is only one correct one there and thats the "& g t ;" (I separated with spaces to avoid the forum converting them) The "& a l t ;" looks as though it's intended to be "& l t ;" perhaps, and I have no idea what "li" is supposed to be? This might be your first problem. Regards Paul SDL Community Support ▲ Collapse | | | <li> and </br> tags | Sep 3, 2015 |
Hi Paul, I am not sure about to which "& a l t ;" you are referring, I can't find in piece of code which I posted. I can see only "& l t", "& g t". Your suggestion is correct - these are < li > and < /br > HTML tags. They are recognized properly in SDL Studio Editor: But this is problem not only with these two HTML tags. All HTML tags which are avail... See more Hi Paul, I am not sure about to which "& a l t ;" you are referring, I can't find in piece of code which I posted. I can see only "& l t", "& g t". Your suggestion is correct - these are < li > and < /br > HTML tags. They are recognized properly in SDL Studio Editor: But this is problem not only with these two HTML tags. All HTML tags which are available inside of < value > tags are counted as translatable words even if displayed as HTML tags in editor. ▲ Collapse | | | Neither can I now!! | Sep 3, 2015 |
Hi Oleksandr, I must have been having a brain freeze or something... apologies. I recreated your file from your image and for some stupid reason added the a!! On your problem, have you tried adding a parser rule for the li and br tags? That would probably resolve it. Regards Paul SDL Community SupportSDL Community Support ▲ Collapse | |
|
|
How to create parser rule | Sep 3, 2015 |
Hi Paul, Could you please advise me how should look a parser rule to exclude for example < li > tag? So I can create corresponding rules for all other HTML tags. Or point me to some documentation with such examples. Thanks, Alex | | | | | Problem is solved! | Sep 3, 2015 |
Hi Paul, I followed instructions from your video and issue is fixed now - all embedded HTML codes are excluded from word count. Thank you very much! Alex | | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » HTML tags in RESX files CafeTran Espresso | You've never met a CAT tool this clever!
Translate faster & easier, using a sophisticated CAT tool built by a translator / developer.
Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools.
Download and start using CafeTran Espresso -- for free
Buy now! » |
| Trados Studio 2022 Freelance | The leading translation software used by over 270,000 translators.
Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop
and cloud solution, empowering you to work in the most efficient and cost-effective way.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |