Florida officials must provide Spanish-language election materials in 32 counties with Puerto Rican populations, a federal judge ruled on Friday, granting part of what a Puerto Rican voter and several Latino advocacy groups had requested. But the judge concluded that there would not be enough time before the November elections to make other changes the plaintiffs had sought.

In a harshly worded, at times sarcastic, order, Judge Mark E. Walker of the United States District Court for the Northern District of Florida granted an injunction requiring Secretary of State Kenneth W. Detzner to instruct county election supervisors to provide Spanish-language sample ballots for the coming midterm elections, both online and at polling places. The order also called for Spanish-language signs at polling places to notify voters that the sample ballots are available.

But Judge Walker declined to require the counties to provide official Spanish-language ballots, accepting Florida officials’ argument that it “would be impossible, or close to impossible,” to do so in the two months remaining before the election. But he wrote that the plaintiffs had shown “a substantial likelihood of success on the merits” in their lawsuit, which seeks to require such ballots in the future.

In the meantime, the sample ballots must match the official ballots in “size, information, layout, placement and fonts,” so that Spanish-speaking voters can use them on Election Day as a guide to filling out the official English-language ballot, the ruling said.