[Tex/LaTex] Babel (French) does not translate the theorem environment in Beamer class

babelbeamerlanguagestheorems

I'm using the beamer class, with the following preamble:

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{ae,aecompl,aeguill}
\usepackage{amsthm, amsmath, amsfonts}

\usetheme{Luebeck}
\usefonttheme{professionalfonts}

When I use the proof environment, the word Preuve appears in the document. This is the desired behaviour.

\begin{proof}
    ...
\end{proof}

Conversely, the theorem environment produces the header Theorem, which is not wanted.

\begin{theorem}
    ...
\end{theorem}

What did I do wrong?

Best Answer

The beamer class uses the translator package for translation. Just specify the language to be used:

\uselanguage{French}
\languagepath{French}

Here's a complete minimal working example:

\documentclass{beamer}
\usepackage[french]{babel}
\uselanguage{French}
\languagepath{French}
\usetheme{Copenhagen}
\begin{document}
\begin{frame}
\begin{proof}
    Some text
\end{proof}
\begin{theorem}
    Some text
\end{theorem}
\end{frame}
\end{document}

enter image description here

Related Question