Handle cases when translation matches the input string

libRocket goes into an endless loop then, trying to translate the thing over and over again and eventually going into stack overflow