Replace words on the site

Asked

Viewed 91 times

0

I use the code below to generate a space with the recent comments made on my blog. It’s working perfectly, only Disqus generates the date of the comment in English. Ex: 1 Month ago, 2 Weeks ago, 1 day ago. I would like someone to help me with an excerpt that replaces "Month ago" by "month ago" for example.

BS.: I don’t know if it’s possible to leave the link to my blog here so I didn’t leave

.dsq-widget ul.dsq-widget-list{
    padding:0;
    margin:0;
    text-align:left
}

img.dsq-widget-avatar{
    margin:6px 10px 7px 0!important;
    width:60px!important;
    height:60px!important;
    padding:0!important;
    float:left;
    border-radius:3px!important
}

p.dsq-widget-meta{
    clear:both;
    font-size:80%;
    margin-top:5px!important
}

p.dsq-widget-meta a{
    display:inline-block;
    width:48%;
    overflow:hidden;
    text-overflow:ellipsis;
    -webkit-text-overflow:ellipsis;
    white-space:nowrap
}

li.dsq-widget-item{
    margin:0!important;
    padding:6px 0 4px!important;
    list-style-type:none;
    clear:both;
    border-bottom:1px solid #EBEBEB
}

li.dsq-widget-item:last-child{
    border-bottom: 1px solid #EBEBEB
}

a.dsq-widget-user{
    font-weight:700;
    display:block!important;
    font-size: 14px;
    margin-top:5px;
    margin-bottom:5px
}

.dsq-widget-comment p{text-transform:lowercase;color:#888;font-size:12px}
<div id="RecentComments" class="dsq-widget">
    <script type="text/javascript" src="http://vida-xbox.disqus.com/recent_comments_widget.js?num_items=5&hide_mods=0&hide_avatars=0&avatar_size=32&excerpt_length=70"></script>
</div>

  • And that doesn’t help you: https://help.disqus.com/customer/portal/articles/466249-multi-lingual-websites?

  • No, I’ve tried this before but it didn’t work. If it helps I really don’t know how to use

  • Weslley, this code you provided is of no use to your question.

  • This code generates the area with recent comments and date information (in English). I want to know how to replace the English text with one I want in Portuguese. The CSS section deals with the visual part

  • The ideal would be to see what the Javascript code brings pro front through this Recentcoments

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.