JOHANNESBURG, South Africa - Having seen one impossible dream come true - the death of apartheid - Soweto is getting ready for another: the arrival of soccer's World Cup, the most-watched sporting event on the planet.

The vast township on Johannesburg's southwest fringe is one of many that South Africa's white rulers built to house armies of black workers banished nightly from white areas. Even the spartan, cramped, meagerly funded township's African-sounding name was a white bureaucrat's contrivance, an acronym of "southwestern townships."

A cauldron of violent resistance to apartheid and a onetime home of Nelson Mandela, Soweto is now a critical part of South Africa's latest step into the international spotlight when it hosts the World Cup in mid-2010.

It helps that Soweto is soccer-crazy, boasts of being the birthplace of South African soccer, and produces its best teams. And it offers not one but three stadiums.

Two have been refurbished for World Cup practice, and a third, Soccer City, has been built on the edge of the township. It will play host to the opening game and the final.

Where South Africa is concerned, the sport has long been bound up in race and politics. Rugby and cricket were seen as white men's sports, so soccer became the sport of blacks. Sports boycotts were an important part of the international campaign that led to apartheid's end in 1994.

A year later, the rugby World Cup became a watershed of interracial reconciliation when Mandela, the country's liberation leader and first black president, walked onto the field to congratulate the victorious, mostly white South African side.

Now soccer's World Cup is coming to Africa for the first time, and Sowetans such as Sipho Vilakazi are already pouring heart and soul into making it a success.

The restaurateur envisions fans packing his rooftop terrace, drinking in the sights and enjoying ribs and oxtail stew before heading to nearby Soccer City. He and his family plan to demolish their small storefront eatery and build what Vilakazi, 44, calls a "mansion restaurant."

"If you say you've been to South Africa and not been to Soweto, then you don't know South Africa," he said. "It's where you feel the change [from apartheid]. People are free.

"I'm a proud Sowetan."

Vilakazi's place is already popular with tourists who visit museums of the fight against white rule, the graves of its prominent victims, and the small brick home where Mandela lived as a young lawyer and activist.

In 1976, an uprising that began in Soweto left hundreds dead in the township and across South Africa in clashes with police as they protested against discrimination and an edict requiring blacks to be taught in Afrikaans, the language associated most closely with apartheid.

The bloodbath proved a harbinger of the broader uprising that engulfed the country in the 1980s and ultimately led to Mandela's being freed after 27 years in prison and leading the country through its first multiracial election.

Soweto has roughly one million residents, more than 40 percent of Johannesburg's population, and they generally earn just a fraction of the incomes of the city's whites.

Orlando Stadium stands near a squatter camp of tents and tin-and-wood shacks. But there's also a new playground nearby, and signs of prosperity and civic improvement abound. The government has invested in parks, roads, and other infrastructure, and private investors have built malls and housing.

Since South Africa won its bid to host the World Cup, taxpayer money has become available for Soweto's sporting needs. It is evident in the three-year, $43 million face-lift that has transformed rundown Orlando Stadium into a gleaming new structure of concrete and steel and doubled its seating to 40,000.

Orlando is only being used for World Cup practices. The nearby 94,000-seat Soccer City will be host to eight of the 64 competitive matches, putting Soweto at the center of the tournament. Soccer City cost seven times what it took to rebuild Orlando, and resembles a giant calabash in gleaming red and gold tones, a nod to African design.

Nthateng Motaung, who runs a bed-and-breakfast, said her eight beds were already booked for 2010.

Soweto tourism has changed. Foreigners used to come for a "township" experience of home-brewed beer and outdoor toilets. Nowadays, she said, they want en suite bathrooms, Internet access, satellite television.

Motaung, 38, was born and raised in Soweto. Today, in a place with such an abnormal past, her concerns are refreshingly normal - taxes, advertising, the cost of equipping guest rooms with TV.

But she still has to reassure prospective visitors who associate Soweto with crime and racial violence. "They still think Soweto is the way it was. Soweto was bad because of apartheid," Motaung said.

Now, she said, "Soweto is very cool."