added translate function to bashrc