×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Changing "Send" to "Submit"

Changing "Send" to "Submit" 12 years 10 months ago #15302

  • Adrian Cooper
  • Adrian Cooper's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Karma: 1
  • Thank you received: 0
Daniel,

I would like to change the comments "Send" button to "Submit" or "Post".

Could you please point me in the direction of the necessary code to modify?

I know I am changing things here and there, but ultimately the usefulness of any Extension is is unique to any specific site - there is no "one size fits all :)

After the above small mod, aside from the module, you can consider me to be an exceptionally happy customer with CompoJoom Comments working great :)

There is definitely no other Joomla comment Extension I would prefer to have - you can be sure of that. Exceptional product, exceptional support.

Thanks very much indeed.

Re: Changing "Send" to "Submit" 12 years 10 months ago #15305

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Adrian,
The language stuff is always handled in the language file (the same way as it is with most joomla extensions).

language/your-langugae/your-language.com_comment.ini

Search in that file for Send and change it to whatever you need. Make sure that your translation is in quotes like this:
COM_COMMENT_THE_STRING_YOU_WANT_TO_TRANSLATE="Translation"

Cheers,
Daniel

Re: Changing "Send" to "Submit" 12 years 10 months ago #15307

  • Some1new
  • Some1new's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 16
  • Thank you received: 0
Since Joomla 2.5 it is possible to change any language string via override.

Please go to Extensions - Language Manager - Overrides.

To find your preferred string have a look on the right side.

Enter "send" into the search field, you will find the language constant you have to overwrite.

Take that to the "Language Contant" field to the left and enter the desired word below.

Now you will have a new translation of your string and it will NOT be overwritten after an update of the component unless the underlying constant would be changed.

Regards
Some1new

Re: Changing "Send" to "Submit" 12 years 10 months ago #15308

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Wow Oliver!!! I didn't even know that this thing was there! This is awesome for users :)

thanks for sharing this!
Daniel

Re: Changing "Send" to "Submit" 12 years 10 months ago #15309

  • Adrian Cooper
  • Adrian Cooper's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 30
  • Karma: 1
  • Thank you received: 0
Thanks Daniel.

That was easy :)

And thanks Some1New - we learn something new every day :)

Re: Changing "Send" to "Submit" 12 years 6 months ago #16237

  • Randy Fabien
  • Randy Fabien's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 1
Thanks for that info, Some1New. So easy from there. LOL
  • Page:
  • 1
Time to create page: 0.157 seconds