Override tr in .bashrc

I’m trying to create a function to translate words via a custom script:

function mean() {
    ~/scripts/translate.sh $1
}

I would prefer the function to be named tr, as it is much shorter and faster to type instead of mean or def.

Any attempts to rename the mean function, eventually collide with tr from GNU Core Utilities (/usr/bin/tr).

I’ve tried:

alias tr='~/scripts/translate.sh'

function tr() {
    ~/scripts/translate.sh $1
}