I realize that in beamer there is an environment named solution, but I cannot find any documentation about it. In particular, I would like to address these two issues:
I see that a title "Solution" is produced followed by a number. I would like to know if it's possible to change that title. This would be useful when writing a document in a non-English language.
How to hide solutions?

\documentclass[spanish]{beamer}\usepackage{babel} ....and see that happen. Warning: sometimes correct changes in babel configuration as change the document language cannot be compiled because the presence of auxiliary files of previous compilations. If that happen, remove the auxiliary files and try again. – Fran Nov 05 '20 at 22:53\usepackage[spanish]{babel}and I also removed the other files, but nothing changes. – user12703198 Nov 05 '20 at 23:03[spanish]option in my document. Thanks! I still would like to know if you can set it so that what's inside thissolutionenvironment is not shown in the output. – user12703198 Nov 06 '20 at 09:11texdoc beamerand read the section 3.9 and 3.10. – Fran Nov 06 '20 at 10:48\foothat does nothing (\newcommand\foo[1]{}) or just print the argument (\newcommand\foo[1]{#1}) like here. – Fran Nov 06 '20 at 17:01