I actually thought about doing this with my dog, but I ended up making a nonsense language that I find fascinating and highly entertaining, though he probably found exasperating.
My dog: "Take me out, I need take a shit."
Me: "Boo dah jah, jezzuh muh jang?"
My dog: "Fine, I'll leave it on the floor as soon as you go to work."
https://www.elephantvoices.org/elephant-ethogram.html
https://www.scientificamerican.com/article/the-first-google-translate-for-elephants-debuts/