Kumar Sangakkara has announced he will retire from international Twenty20 cricket after the World Twenty20 tournament in Bangladesh.