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

TOPIC: Email subject text translations

Email subject text translations 9 years 3 months ago #21059

  • Gerhard Sitzmann
  • Gerhard Sitzmann's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
Hello Daniel,

I found that the text strings for the email subject, like "Comment in a topic that you moderate has been unpublished", are placed in administrator/language/en-GB/en-GB.com_comment.ini

For consistency reasons it would be better to have them in language/en-GB/en-GB.com_comment.ini.

I don't know if this is possible because of the structure of your great component.

To avoid getting overridden by updates, I placed the relevant language strings in administrator/language/overrides/en-GB/en-GB.override.ini and german translations in administrator/language/overrides/en-GB/de-DE.override.ini

Email subject text translations 9 years 3 months ago #21062

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'm not 100% sure why I put them in the administrator part. Maybe because emails are sent also in the backend (whenn you approve a comment or so). But it actually doesn't really matter -> both admin and frontend files are merged when in frontend.

And the way you did it is absolutly correct -> one should use overrides. But best would be if you put them over here:

this way other people can use them as well :)

  • Page:
  • 1
Time to create page: 0.135 seconds