I tried to use \uselanguage{Czech}\languagepath{Czech}
as suggested in Babel (French) does not translate the theorem environment in Beamer class, but I still get "Theorem" instead of "Věta" for my theorem. How can I teach beamer the Czech words? And can I submit the language mutations to CTAN somehow to make the widely available?
MWE:
\documentclass{beamer}
\usepackage[czech]{babel}
\uselanguage{Czech}
\languagepath{Czech}
\usepackage[utf8]{inputenc}
\usetheme{Copenhagen}
\begin{document}
\begin{frame}
\begin{proof}
Some text
\end{proof}
\begin{theorem}
Some text
\end{theorem}
\end{frame}
\end{document}
Best Answer
There is no Czech dictionary provided along with the
translator
subpackage of Beamer, so you need to help it; the proof name is changed, becausebabel
knows about\proofname
.I then copied
translator-theorem-dictionary-English.dict
totranslator-theorem-dictionary-Czech.dict
in the current directory and changed the relevant line, obtaining the desired result even after removing the\deftranslation
line, because the file was read, as shown byin the log file.