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

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: How to replace "Add comment"
Pages: [1]   Go Down
  Print  
Author Topic: How to replace "Add comment"  (Read 1545 times)
0 Members and 1 Guest are viewing this topic.
capella
Newbie
*

Karma: 0
Offline Offline

Posts: 46


Email
« on: September 04, 2010, 03:36:29 »

I want to replace "Add Comment" to "Ask Questions".

i tried searching many template files and others. I couldn't find where to replace this string. This is for english language.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: September 06, 2010, 14:17:52 »

You need to edit the language file (/language/en-GB/en-GB.com_jcomments.ini):
Code:
ADD COMMENT=Add new comment
Logged

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

Karma: 0
Offline Offline

Posts: 46


Email
« Reply #2 on: September 10, 2010, 06:55:05 »

i am on 2.1.

I tried follwing three and none of them worked.

1. changed this ADD COMMENT=Add new comment  to  ADD COMMENT=Ask Question

2. changed this ADD COMMENT=Add new comment  to ASK Question=Add new comment

3. changed this FORM_HEADER=Add comment to FORM_HEADER=Ask Question

can you see what is wrong here?
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: September 10, 2010, 06:58:31 »

Make sure what you've changed files in right directory. You need to change files in Joomla's language files directory, not in /components/com_jcomments/languages.
Logged

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

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #4 on: September 11, 2010, 12:14:16 »

 Huh I have tried to do the same but in swedish language. Cannot find the file that shall be changed and I am not so sure about where to put the line. Have tried several times. HELP.

Bengt-Åke
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #5 on: September 12, 2010, 02:10:23 »

@Samarbetsdynamik: you need to edit file /language/sv-SE/sv-SE.com_jcomments.ini:

Code: (php)
ADD COMMENT=Skriv ny kommentar
Logged

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

Karma: 0
Offline Offline

Posts: 46


Email
« Reply #6 on: September 18, 2010, 05:05:13 »

You are right, i was looking at wrong location.

But it Form Header which needs to change and not "Add comment".

Thanks
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: How to replace "Add comment"
 
Jump to: