It is spoken in the Tamil Nadu state of India , and in Sri Lanka , Singapore and Malaysia .
Tamil is also an official language of Sri Lanka and Singapore .