# How can I translate keywords of algorithmic package?

How do I translate standard keywords of the `algorithmic` package like (if, then,...) to my language?

If possible, I would like to do it without looking into source of `algorithmic` or `algorithm`.

-
I couldn't find any `algorithmic` package. Do you mean `algorithms` package ? –  percusse Dec 29 '11 at 13:24
@percusse: I think so ;-) –  Marco Daniel Dec 29 '11 at 13:25
@percusse: Hmmm.. yes it was `algorithmic` environment ;-) –  sorush-r Dec 31 '11 at 14:01
add comment

## 1 Answer

You don't need to look into the source code. The documentation of algorithms has an extra section with the following introduction:

In order to facilitate the use of this package with foreign languages, all of the words in the output are produced via redefinable macro commands. The default definitions of these macros are:

``````...
\newcommand{\algorithmicend}{\textbf{end}}
\newcommand{\algorithmicif}{\textbf{if}}
\newcommand{\algorithmicthen}{\textbf{then}
...
``````
-
add comment