• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: How to display greek months correctly

How to display greek months correctly 10 years 7 months ago #28937

  • rinenweb
  • rinenweb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
For all the Greek users who want to display the months correctly (in genitive) in event view, there is the following solution:

1) Add the following strings to the end of el-GR.com_rseventspro.dates.ini file
COM_RSEVENTSPRO_JANUARY_GR="Ιανουαρίου"
COM_RSEVENTSPRO_FEBRUARY_GR="Φεβρουαρίου"
COM_RSEVENTSPRO_MARCH_GR="Μαρτίου"
COM_RSEVENTSPRO_APRIL_GR="Απριλίου"
COM_RSEVENTSPRO_MAY_GR="Μαΐου"
COM_RSEVENTSPRO_JUNE_GR="Ιουνίου"
COM_RSEVENTSPRO_JULY_GR="Ιουλίου"
COM_RSEVENTSPRO_AUGUST_GR="Αυγούστου"
COM_RSEVENTSPRO_SEPTEMBER_GR="Σεπτεμβρίου"
COM_RSEVENTSPRO_OCTOBER_GR="Οκτωβρίου"
COM_RSEVENTSPRO_NOVEMBER_GR="Νοεμβρίου"
COM_RSEVENTSPRO_DECEMBER_GR="Δεκεμβρίου"

2) Replace the respected strings with the ones above on components/com_rseventspro/helpers/rseventspro.php on line 813:
JText::_('COM_RSEVENTSPRO_JANUARY_GR'),JText::_('COM_RSEVENTSPRO_FEBRUARY_GR'),JText::_('COM_RSEVENTSPRO_MARCH_GR'),JText::_('COM_RSEVENTSPRO_APRIL_GR'),JText::_('COM_RSEVENTSPRO_MAY_GR'),JText::_('COM_RSEVENTSPRO_JUNE_GR'),JText::_('COM_RSEVENTSPRO_JULY_GR'),JText::_('COM_RSEVENTSPRO_AUGUST_GR'),JText::_('COM_RSEVENTSPRO_SEPTEMBER_GR'),JText::_('COM_RSEVENTSPRO_OCTOBER_GR'),JText::_('COM_RSEVENTSPRO_NOVEMBER_GR'),JText::_('COM_RSEVENTSPRO_DECEMBER_GR'),


PS: You could also put the greek months string to the en-GB.com_rseventspro.dates.ini file, because the event list on the back-end also uses the same strings (which we altered in rseventspro.php above).
Last Edit: 10 years 7 months ago by rinenweb. Reason: Improvement
The administrator has disabled public write access.

How to display greek months correctly 10 years 6 months ago #29167

  • rinenweb
  • rinenweb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Well, it seems that the downside with this fix is that you have to edit the rseventspro.php after every update that affects this file.

Since the helpers can't be overriden, I wonder if RSEvents!Pro developers would consider including the modified strings with something like "COM_RSEVENTSPRO_JANUARY_GENITIVE" in the rseventspro.php as well as in the en-GB.com_rseventspro.dates.ini files, so that the affected users don't have to make the same changes after every update...
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!