Transformers: Age of Extinction” dominated the international box office for the second week in a row, picking up $95.8 million in foreign markets, according to studio estimates.

The giant robots sequel played better in China than it did in the United States, earning $50.9 million from the People’s Republic compared with $36.4 million stateside. Overall, the film has earned $212.8 million in China and seems likely to pass “Avatar’s” haul of $217.7 million to become the country’s top-grossing foreign release.

Paramount Pictures, the studio behind the franchise, did a lot of groundwork to make those results possible. It shot large parts of the movie in China, enlisted Chinese companies as promotional partners and cast local star Li Bingbing in a key role.

“Transformers: Age of Extinction” screened in 37 territories last weekend, including Russia, South Korea and Australia. Next week it rolls out in more than ten new markets, among them the United Kingdom, Argentina, Chile and Mexico. The picture’s global total now stands at $575.6 million.

DreamWorks Animation’s “How to Train Your Dragon 2” was the second highest grossing film internationally, pulling in $33.5 million from 59 foreign markets and lifting its global bounty to $293.2 million.

Chinese romantic-comedy “The Break-Up Guru” captured third place on the international charts with $17.5 million, the bulk of it coming from its country of origin. The film has earned $65.1 million since opening on June 27.

Rounding out the top five were “Maleficent” with $17.3 million from 55 markets and “The Fault in Our Stars” with $10.1 million, pushing their global grosses to $630.2 million and $220 million respectively.

Most of the week’s new releases were domestic plays, but Melissa McCarthy’s “Tammy” picked up $2.5 million from a handful of overseas territories (it was no. 1 in Germany with $1.3 million) and horror film “Deliver Us From Evil” scared up $2.5 million from a scattering of foreign dates.