0

Please help. The language is compiled only in some chapters.

here my code

\documentclass[12pt,spanish,letterpaper,oneside,onecolumn,openany]{book}
\usepackage[left=4cm,top=3cm,right=2.5cm,bottom=3cm]{geometry} 
\usepackage[T1]{fontenc}
\usepackage[latin1, utf8]{inputenc}
\usepackage[spanish,es-tabla]{babel} % tabla y no cuadro!
%\usepackage[spanish,english]{babel}

%\selectlanguage{spanish} 
%\usepackage[utf8x]{inputenc}
\inputencoding{ansinew}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{float} % ubicacion de imagen donde yo quiero
\usepackage{natbib}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{wrapfig}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{lscape}

\setcounter{tocdepth}{3} % para que ponga subsubsecciones en el indice
\setcounter{secnumdepth}{3} % para que ponga 1.1.1.1 en subsubsecciones


\usepackage{setspace}  
\usepackage{verbatim}
\usepackage{appendix}
\usepackage{fancyhdr}
\usepackage{hyperref} %hipervínculos dentro del documento

\usepackage[toc,nopostdot,acronym,section]{glossaries}
\makeglossaries



\renewcommand{\appendixname}{Anexos}
\renewcommand{\appendixtocname}{Anexos}
\renewcommand{\appendixpagename}{Anexos}

\renewcommand{\contentsname}{Contenido}
\renewcommand{\figurename}{Figura}
\renewcommand{\tablename}{Tabla}

\renewcommand{\partname}{Parte}
\renewcommand{\figurename}{Figura}
\renewcommand{\tablename}{Tabla}
\renewcommand{\bibname}{Bibliografia}
\renewcommand{\chaptername}{Cap�tulo}
\author{Raquel Tamara Saavedra Pino}



%\makenomenclature
\pagenumbering{roman}

\begin{document} 


\include{PORTADA}
\setcounter{page}{2}
\include{INFAPROB}
\include{BIOGRAFIA}
\include{PALABRA}
\include{DEDICATORIA}
\tableofcontents
\listoftables
\listoffigures
\include{Abreviaturas}
\glsaddall
%\printglossary 
\include{RESUMEN}
\include{ABSTRACT}
\pagenumbering{arabic}
\include{INTRODUCCION}
\include{METODOS}
\include{RESULTADOS}
\include{DISCUSION}
\bibliography{BIBLIOGRAFIA}
\bibliographystyle{apalike}
\appendix{Ap�ndice} 
\clearpage
\addappheadtotoc
\appendixpage
\include{Anexo I}
\include{Anexo II}

 \end{document}

put on hold as unclear what you're asking by Mensch, siracusa, Raaja, Marijn, Stefan Pinnow Jul 13 at 18:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.