Replace inline text with translation