[Tex/LaTex] Change “Figure” by another word in caption text

captions

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 enter image description here

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.

Thanks in advance!

Best Answer

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}

enter image description here