Line length in multi-line strings

I need to limit the number of characters a translator can enter per line in the following:

<text kind='TEXT' id='01364' linelen='30' line='002'>
<val>
Keilrippenriemenscheibe mit<br/>
Freilauf und Schutzkappe
</val>
</text>

 The attribute linelen gives the maximum number of characters per line. Each line ends with <br/> and a line break.

Can anyone suggest a way to do this in Studio?

Parents Reply Children
  • Guy Knight-Jones said:
    Thanks Jesse. It looks like checking line lengths within a segment would require some form of plug-in.
     
    I don't think so based on your example.  The settings file I gave you will check variable lengths based on the content of the linelen attribute.  So if you check the document structure information for each segment where there is a restriction you'll see something like this:
     
     
    This value is used in the QA check for every segment.
     
    Am I completely misunderstanding your requirement here?
     
    Regards
     
    Paul

    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