You are currently working on UAT 

Is there a way for punctuation rules not to be applied to web adresses, hence no error message ?

Hi,

I am translating into French. So the rules for french punctuation are always on.

What I would like is not having an error message - telling me that I do not respect the punctuation- when I translate a web adress. Is this possible ? and how ?

Cheers, Manuella

Parents Reply
  • Hi  

    I think  was heading in this direction once she knew what you were seeing.  There are two parts to this:

    Part 1

    You need to remove the colon from the French Punctuation rules here:

    Part 2

    You need to create a new rule for the colon but one that excludes http addresses.  To do this you can create a regular expression rule in here:

    To make this more clear:

    RegEx Source:
    ^(?:(?!http://))(\w*)(:\w*)

    RegEx target:
    $1 $2

    Condition:
    Grouped search expression - report if source matches but not target

    This basically checks to see whether a string starts with http:// and if it does then it's ignored.  If it doesn't then it checks to see whethrer you used a space before the colon.  It won't catch inline web addresses so you'd have to play with the expression if you need that, but based on your example text it should be good.

    Part 3

    There is probably a part three to this for us.  To make sure that when French punctuation rules are activated and a colon is used, then don't check web addresses.

    Paul Filkin | RWS

    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

Children