Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using i18n and string overrides for translating fields in the front end. I opened up the comment-section for several content types and it's working great. The only thing is: I can't find a way to translate "Comment" to german to "Kommentar".

I just found out, that the Comment-Form doesn't get a specific language-tag. So it is und(efined) which leads to the english word Comment.

The easiest but a little dirty way to fix that is to translate it by hand with the hook_alter_form in the template.php

Is there a more cleaner way to do that?


share|improve this question
Please, can you explain more clearly what do you want to translate, dynamic comment body or static label "Comment"? – kalabro Jun 26 '12 at 11:52
up vote 1 down vote accepted

Yes there is you should try out Localization client

This would help you out, and translate the content in t()

share|improve this answer
I don't know if that module fixed it, but I found out, that there was no translation for the fields label in the language-section... So I went to admin/config/regional/translate/translate and added the translation. Anyway thanks for the help :) – Lumio Jun 26 '12 at 11:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.