RSSDog meat is more of a regional thing than something that encompasses the entire country, and most of the population do not consume dog meat especially in the urbanized areas, the Yulin festival is not a nationwide festival. Furthermore, it is actually a pretty controversial issue in China.
Well, there were efforts to ban dog meat but they were not strongly enforced.
https://www.nationalgeographic.com/animals/article/china-yulin-dog-meat-festival-sales-bans-animals
“The Humane Society International estimates that some 10 million dogs and 4 million cats are killed in China every year for meat.” If you compare this to the entire population, 10 million dogs isn’t even 1% of China’s human population.
“A 2016 poll found that nearly 52 percent of Chinese, including Yulin residents, want the dog meat trade banned completely, with almost 70 percent claiming never to have eaten dog meat, reports the Chinese state news agency Xinhua. Opposition to dog meat is particularly high among young people.”
Besides, it is also a tradition in South Korea, which isn’t stigmatized for dog meat. Though it’s dwindling in numbers as South Korea has modernized rather rapidly after the Korean war.
Vietnam seems to have a higher percentage (80%) of its population consuming dog meat (at least according to this report). I think it is probably lower than 80% now.
https://www.worlddogalliance.org/hidden-truth-on-dog-meat-consumption-in-vietnam/