Fork me on GitHub

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

Changing Discussion/Comment Text to Question/Answer

By default, Vanilla show the words "Discussion" and "Comment." However, some people may want to show the words "Question" and "Answer." Our voting plugin used to do this, but was removed in a recent version. If you want these translations back then add the following to your locale file (such as /conf/locale.php).


$Definition['Start a New Discussion'] = 'Ask a Question';
$Definition['Discussions'] = 'Questions';
$Definition['All Discussions'] = 'All Questions';
$Definition['My Discussions'] = 'Mine';
$Definition['Delete Discussion'] = 'Delete Question';
$Definition['No discussions were found.'] = 'No questions were found.';
$Definition['Discussion Title'] = 'Question Title';
$Definition['Post Discussion'] = 'Post Question';
$Definition['%1$s started a %8$s.'] = '%1$s asked a %8$s.';
$Definition['%1$s commented on %4$s %8$s.'] = '%1$s answered %4$s %8$s.';
$Definition['discussion'] = 'question';
$Definition['Write Comment'] = 'Write Answer';
$Definition['Post Comment'] = 'Post Answer';
$Definition['%1$s more comments'] = '%s more';
$Definition['%1$s older comments'] = '%1$s older';
$Definition['Comment'] = 'Answer';
$Definition['Comments'] = 'Answers';
Edited February 2011 by Todd