[Tex/LaTex] way to change the language on Overleaf

languages

Things like date, contents and bibliography come out in English, but I´d like to have them in Portuguese. I tried changing the settings, but didn´t find anything. Is there a package for that?

It should be possible with the babel package.

Try including this:

\usepackage[portuges]{babel}

\selectlanguage{portuges}


And if there are certain letters not being encoded include the following:

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}