Excluding ‘+’ signs in UI strings from word count

I am setting up a project in Studio 2022 for 116 Excel files of UI strings. The strings look like this:

head north to + [street_name] + and turn right

The parameters in square brackets, such as "[street_name]," do not need to be translated, so I set up a regex rule below, and it works fine. 

Start Tag: \[

End Tag: \]

Non-translatable

However, even though the text in square brackets is locked, there is a large number of ‘+’ signs throughout the files, and I suspect they significantly increase the word count.

Two lines of text with UI strings, showing 'head north to + street_name + and turn right' and 'head south to + street_name + and turn right'. The 'street_name' parts are highlighted and locked for translation.

I would like to know how to exclude the ‘+’ sign from the word count.

Thank you in advance.



Generated Image Alt-Text
[edited by: RWS Community AI at 12:31 PM (GMT 0) on 14 Nov 2024]
emoji
Parents Reply
  •  

    You should create a new thread for this because you are confusing users who try to help you.  This time you are using HTML and the solution Jerzy gave you will certainly be ok when working with XML.  With HTML this is only possible with server side scripts used within the HTML so you should really provide a sample of the html (that does not mean the whole file!) that relates to the section you need to address, and then you will get some sensible assistance.

    It really helps when we have one thread per question so we can then verify it when  you have the correct answer and this helps users who might be looking for a solution to the same things.  Please create a new one.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
Children
No Data