Currently, I write a report in LaTeX. Everything goes well except a small problem that bothers me really. The report is written in English except for a summary in French that has to be written in French, for this reason I have imported the \usepackage[french, english]{babel}.

By creating the table of Contents with the command \tableofcontents, the generated document shows Table des Matières instead of Table of Contents. It translated the phrase into French!

The packages I used:

\documentclass[english]{report}
\usepackage[latin1]{inputenc}
\usepackage{epstopdf}
\usepackage{amssymb}
\usepackage{url}
\usepackage{float}
\usepackage[acronym]{glossaries}
\usepackage{algorithm}
\usepackage{minitoc}
\usepackage[toc,page]{appendix}
\usepackage{afterpage} %
\usepackage{microtype} % makes pdf look better
\usepackage[caption=false]{subfig}
\usepackage[french,english]{babel}

-

## migrated from stackoverflow.comMay 16 '12 at 13:03

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner May 16 '12 at 16:26

Just after \begin{document} put \selectlanguage{english}; then switch back to French just before the French part of the text: \selectlanguage{french}.

-

See this description of the babel package.

Just after \begin{document} switch to english with

\selectlanguage{english}


\selectlanguage{french}

\selectlanguage{english}