title: Translate attributed string
body: <p>I have a UILabel with an attributed string. Here is a printscreen of it:</p>
  
  <p><img src="https://i.stack.imgur.com/ShyfL.png" alt="enter image description here"></p>
  
  <p>Now, I have to translate this attributed string to english and italian.
  I am searching for a way to do this. Can I build this attributed string in code part by part? I have only found a solution where the whole string is set and then the attributes are set by range. But when I translate the string, I don't know the range anymore, because the words are longer or smaller.</p>