did the byzantine empire or roman empires main language latin

The main language of the Byzantine Empire was Greek, while the main language of the Roman Empire was Latin.