Close

June 27, 2016

How to customize text in the Vuukle

Vuukle allows you to customize text used in the Vuukle comment system according to your needs. The following values can be modified:

rating_text – The text present besides the rating widget – Default: Give a rating

comment_text_0 – The text for article with no comments – Default: Leave a comment

comment_text_1 – The comment count text for article with a single comment – Default: comment

comment_text_multi -The comment count text for article with multiple comments – Default: comments

stories_title – The heading for the recommended stories section – Default: Talk of the Town

customize text 01

Once you have made changes to the text, arrange them in the following manner:

var VUUKLE_CUSTOM_TEXT = '{ "rating_text": "Give a rating", "comment_text_0": "Leave a comment", "comment_text_1": "comment", "comment_text_multi": "comments", "stories_title": "Talk of the Town" }';

After that, insert it into the existing JavaScript code for Vuukle comment system. Add it before the UNIQUE_ARTICLE_ID line, so that the final code will look like –

<script type=text/javascript>
var VUUKLE_CUSTOM_TEXT = '{ "rating_text": "Give a rating", "comment_text_0": "Leave a comment", "comment_text_1": "comment", "comment_text_multi": "comments", "stories_title": "Talk of the Town" }';
var UNIQUE_ARTICLE_ID = "Please pass the unique article id of the article";

 

Ravi Mittal

Founder & CEO, Vuukle

Latest posts by Ravi Mittal (see all)