Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: language file problems
Pages: [1]   Go Down
  Print  
Author Topic: language file problems  (Read 1431 times)
0 Members and 1 Guest are viewing this topic.
tyrpak
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: July 05, 2012, 02:17:04 »

Hi!

First time I post here, but I'm a long time jcomments. After I have upgraded k2 and jcomments, I have some problems with the comments listing under the articles.

All comments look like this:


In language it is:
COMMENT_TITLE_RE="Válasz:" (válasz = reply)

Also, the expressions
COMMENTS_LIST_HEADER and BUTTON_REFRESH appear in english (HEADER and REFRESH).

I have the hungarian language files installed, I can edit it on the administration page, but it looks like it doesn't use it, and even the english one is missing the COMMENT_TITLE_RE expression.

Please, how can I fix this?

(If you google for jcomments COMMENT_TITLE_RE , you will see quite a few examples of this bug)
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: July 05, 2012, 20:14:29 »

It looks like you've old JComments template with JComments 2.3.0...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
tyrpak
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: July 06, 2012, 00:28:58 »

I have checked the template, uploaded the 2.3.0 files in tpl again, and the problem remains.

My question is: the template looks for
Code:
echo JText::_('COMMENTS_LIST_HEADER');

But outputs HEADER, which is odd, because the english language file is
Code:
COMMENTS_LIST_HEADER="Comments"

Please do you have any idea, where it's gets the incorrect values from?
Logged
ABTOP
Sr. Member
****

Karma: 17
Offline Offline

Posts: 399



WWW
« Reply #3 on: July 06, 2012, 01:06:24 »

Make sure your site template doesn't have any files that override the JComments template. That is, if you have a folder named com_jcomments inside your site template folder, then they will interfere.
Logged

No personal messages unless you are a friend or you have money for me.
tyrpak
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #4 on: July 06, 2012, 01:56:56 »

No, there are no overrides, I'm using the default from inside the compontents/com_jcomments/tpl
Rechecked every file from the 2.3.0 stable, and everything is as it is in that package.

I just don't understand, where it gets the false values for COMMENT_LIST_HEADER and BUTTON_REFRESH.

In the template the comment title is:
tpl/tpl_comment.php

Code:
<span class="comment-title"><?php echo $comment->title?></span> &mdash;

Where $comment->title will be COMMENT_TITLE_RE "title of comment"

So whereever $comment is made, it doesn't find the value for COMMENT_TITLE_RE .

I'm fine with modifying tpl_list.php for HEADER and REFRESH, and making an override folder under /templates but I cannot fix this COMMENT_TITLE_RE thing.

Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: language file problems
 
Jump to: