I'm writing a document in Spanish (with babel), but the name of \tableofcontents is still "Contents". I've tried with \renewcommand{\contentsname}, \addto\captionsspanish and a lot of different combinations but it doesn't work.
I don't know what is happening, because the name of the bibliography is in Spanish, so babel is working properly there.
This is the code I'm using:
\documentclass[11pt,aps,prd,preprintnumbers,nofootinbibn,onecolumn]{revtex4}
\usepackage{graphicx}
\usepackage{dcolumn}
\usepackage{bm}
\usepackage{amssymb}
\usepackage[utf8x]{inputenc}
\usepackage[spanish]{babel}
\usepackage{shapepar}
\usepackage{amsmath}
\usepackage{array}
\usepackage{fancybox}
\usepackage{multirow}
\usepackage{appendix}
\usepackage{epsfig}
\usepackage{subfigure}
\usepackage{caption}
\usepackage{float}
\usepackage{braket}
\usepackage{amsfonts}
\usepackage{mathrsfs,amsmath}
\usepackage{chemmacros}
\usepackage{bbold}
\usepackage{framed}
\usepackage[usestackEOL]{stackengine}
\usepackage{lipsum}
\usepackage{blindtext}
\usepackage{soul}
\newcommand*\dif{\mathop{}\!\mathrm{d}}
\newcommand*\Dif[1]{\mathop{}\!\mathrm{d^#1}}
\hyphenation{ALPGEN}
\hyphenation{EVTGEN}
\hyphenation{PYTHIA}
\addtolength{\textwidth}{0cm}
\addtolength{\hoffset}{0cm}
\addtolength{\textheight}{1.6cm}
\addtolength{\voffset}{0cm}
\DeclareMathOperator{\Tr}{Tr}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\usepackage{geometry}\geometry{a4paper, total={160mm,247mm}, left=25mm, top=25mm, }
\usepackage{setspace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\title{\huge{Título}\\[0.4cm]}
\thispagestyle{empty}
\begin{abstract}
\begin{center}
\today\\
\vspace{1cm}
\hspace{1em}{\bf Autor:}\\
\vspace{0.1cm}
\hspace{1em}NAME $^\ddagger$\\
\vspace{0.8cm}
{\it Universidad}\vspace{2em}
\end{center}
\hline\vspace{1em}
{\bf Abstract:} \vspace{-0.5em}
\singlespacing
\small{...}\vspace{2em}\hline \vspace{1em}
\scriptsize{$^\ddagger$ E-mail: \texttt{...}
\end{abstract}
\clearpage
\maketitle
\newpage
\thispagestyle{empty}
\spacing{2}
\begin{quotation}
\tableofcontents
\end{quotation}
\section{Introducción}
\setcounter{page}{1}
\begin{thebibliography}{99}
\bibitem{1}
...
\end{thebibliography}
\end{document}
Thank you.

\usepackage{...}at the beginning, that's awful.... You're loading some packages,epsfigis outdated and why manipulating layout parameters whereas you usegeometryalready? – Jan 08 '17 at 10:16\tableofcontentsis not there... – TsuKi Jan 08 '17 at 10:25\smallandhugedo not take an argument so\small ...not\small{...}commands\bfand\itare deprecated and don't loadepsfigunless you need to emulate a document using a package from 1990. – David Carlisle Jan 08 '17 at 10:25subfigure), fully or nearly duplicative (e.g.,epsfig, given that you also loadgraphicx), almost surely unneeded (shapepar-- really?!), or get loaded more than once (e.g.,amsmath). The preamble also contains statements that are subsequently overridden by later statements. E.g., why modify\hoffsetand\voffsetby hand if you then go on to load thegeometrypackage and issue a\geometrystatement? Do yourself a big favor and simplify and shorten the document's preamble. – Mico Jan 11 '17 at 00:38