mainly,the people speak hindi. is it correct?
It's not wrong, but "The people mainly speak Hindi." is more natural.