Fork me on GitHub

Ready to contribute?

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

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.


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