attempts at a translation function

attempts at a translation function