K2 Comment text line translation

GK User
Tue Apr 17, 2012 2:56 pm
Hi there, has anyone find the problem for this translation issue? The translation is done in the fr-FR.com_k2.ini but still, the text appears in english.


K2_COMMENT_FORM_NOTES="Make sure you enter the (*) required information where indicated. HTML code is not allowed."
User avatar
Platinum Boarder

GK User
Tue Apr 17, 2012 3:54 pm
Hi,

I haven't seen this issue before, can you let me take a look on it, also send a PM to provide FTP access info to check into the code?

Thanks,
User avatar
Platinum Boarder

GK User
Sun Dec 02, 2012 12:45 pm
Same problem here. I guess something wrong in this code. It does not get text from the JText:: ('K2_COMMENT_FORM_NOTES') either from en-GB nor from translated language file. I have changed the text in english file, swirhced to language override but still it is showing a predefinite text, in my case the text is

"Make sure you enter the (*) required information where indicated. Basic HTML code is allowed."
--But actual text in language file (en-GB) is
"Make sure you enter the (*) required information where indicated. HTML code is not allowed."
--and in language file (ru-RU) is
"Убедитесь, что вы вводите (*) необходимую информацию, где. HTML-коды запрещены"

Tried to solve in various way but without success, I guess something wrong in the following code.



<?php if($this->params->get('commentsFormNotes')): ?>
<p class="itemCommentsFormNotes">
<?php if($this->params->get('commentsFormNotesText')): ?>
<?php echo nl2br($this->params->get('commentsFormNotesText')); ?>
<?php else: ?>
<?php echo JText::_('K2_COMMENT_FORM_NOTES') ?>
<?php endif; ?>
</p>
<?php endif; ?>
User avatar
Fresh Boarder

GK User
Sun Dec 23, 2012 11:33 am
Why does nobody answer the question?
User avatar
Fresh Boarder


cron