# Change “Figure” by another word in caption text

I'm preparing a beamer presentation and I have this part of code

\begin{center}
\begin{figure}
\includegraphics[width=6cm]{img1.png}
\caption[Figura 1]{O Círculo Osculador de $\alpha$ em $s$.}
\end{figure}
\end{center}


that generates this

I would like to know how to change the word "Figure" in "Figure 1" by another word because I would like to put the translation of "Figure" to my language in the beamer presentation.

• Have you tried \renewcommand{\figurename}{Figura} ? (tex.stackexchange.com/questions/17489/…) – Damien Dtx Dec 1 '17 at 10:58
• Use \usepackage[???]{babel} to load some language. Replace ??? by the language, for example, portuguese. – Sigur Dec 1 '17 at 11:01
• Also, you don't need to use center, just use \begin{figure}\centering. – Sigur Dec 1 '17 at 11:02
• @DamienDtx, I tried now, but it doesn't works – George Dec 1 '17 at 11:04
• @Sigur, yes, I'm using the \usepackage[portuguese]{babel} – George Dec 1 '17 at 11:04

babel is the right package to translate variables to some language.

\documentclass{beamer}
\usepackage[portuguese]{babel}

\begin{document}
\begin{frame}
\begin{figure}%
\centering%
\includegraphics[width=3cm]{example-image-a}%
\caption{text}
\label{fig.A}
\end{figure}
\end{frame}
\end{document}


• thanks! I realized that the babel package was in English language, I just change to Portuguese language and works without put the label command and the renewcommand suggested by DamienDtx. – George Dec 1 '17 at 11:12
• \label{fig.a} has nothing to do with language, it is just to refer to the image with \ref{fig.a}, which of course have no sense if figure has no number. – Sigur Dec 1 '17 at 11:15