translate splits and combines long strings to avoid uri errors