added possibility to translate text while rendering