You should use the otherlanguage environment.
\documentclass[letterpaper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,brazil]{babel}
\providecommand{\printertitle}{}
\addto\captionsenglish{% ingles
\renewcommand{\printertitle}{Model of theses and dissertations in LaTeX of the ICMC}%
}
\addto\captionsbrazil{% portugues-brasil
\renewcommand{\printertitle}{Modelo de teses e dissertações em LaTeX do ICMC}%
}
\begin{document}
ANTONELLI, H. L..
\begin{otherlanguage}{english}\printertitle\end{otherlanguage}. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
ANTONELLI, H. L..
\printertitle. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
\end{document}

A simpler method if you just need two languages:
\documentclass[letterpaper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,brazil]{babel}
\newcommand{\printertitle}{%
\iflanguage{english}
{Model of theses and dissertations in LaTeX of the ICMC}%
{Modelo de teses e dissertações em LaTeX do ICMC}%
}
\begin{document}
ANTONELLI, H. L..
\foreignlanguage{english}{\printertitle}. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
ANTONELLI, H. L..
\printertitle. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
\end{document}
Another method, rather flexible, for more than two languages; you do
\definelanguagevariable{<command>}
{
{<language 1>}{<text 1>}
{<language 2>}{<text 2>}
...
{<language n>}{<text n>}
and then call either <command> or <command>[<language>]. Without the optional argument the text corresponding to the current language is used; the optional argument will use the stated language.
In the example below, \printertitle will print the Portuguese text, \printertitle[english] the English text; but \printertitle after `\selectlanguage{french} prints the French text.
\documentclass[letterpaper,10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,french,brazil]{babel}
\usepackage{xparse}
\ExplSyntaxOn
\NewDocumentCommand{\definelanguagevariable}{mm}
{
\NewDocumentCommand{#1}{o}
{
\str_case_x:nn { \IfNoValueTF{##1}{\languagename}{##1} } { #2 }
}
}
\ExplSyntaxOff
\definelanguagevariable{\printertitle}
{
{brazil}{Modelo de teses e dissertações em \LaTeX{} do ICMC}
{english}{Model of theses and dissertations in \LaTeX{} of the ICMC}
{french}{Model pour th\`eses et dissertations en \LaTeX{} de l'ICMC}
}
\begin{document}
ANTONELLI, H. L..
\printertitle. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
ANTONELLI, H. L..
\printertitle[english]. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
\selectlanguage{french}
ANTONELLI, H. L..
\printertitle. 2016.
81 p. Tese (Doutorado em Ciências – Ciências de Computação e
Matemática Computacional) – Instituto de Ciências Matemáticas
e de Computação (ICMC/USP), São Carlos – SP, 2016.
\end{document}

– Humberto Lidio Antonelli Oct 06 '16 at 00:48ANTONELLI, H. L..% { \selectlanguage{english}% \printertitle% }% . 2016. 81 p. Tese (Doutorado em Ciências – Ciências de Computação e Matemática Computacional) – Instituto de Ciências Matemáticas e de Computação (ICMC/USP), São Carlos – SP, 2016.\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – samcarter_is_at_topanswers.xyz Oct 06 '16 at 11:48\printertitleby some random text, because I don't know where this command comes from. Unfortunately I can not reproduce your problem. Have you tried with{%? – samcarter_is_at_topanswers.xyz Oct 06 '16 at 11:50