Trim translation IDs