Added translate() to the user.cpp and header.
Added a map containing language names and their locale codes.