Language:
Free Online Dictionary|3Dict

逢場作戲

Source : CEDICT

lit. find a stage, put on a comedy (idiom); to join in the fun/to play along according to local conditions