Complex sentence: Their written versions starts in the XV century, usually being song by shepherds and their families while in churches and other temples usually son in latin.
Split into simpler sentences: Their written versions starts in the XV century. In the past were usually being song by shepherds and their families while in churches and other temples usually son in latin.