Wait for ajax post after changing language

@flowerhack