The British government published a bill to legalize same-sex marriage Friday, and said lawmakers will get their first vote on it in Parliament next month.