translation from rest api - first atempt