Welcome, Guest
Username: Password: Remember me
Customer's Questions

TOPIC: Facebook Events Pro - Locales

Facebook Events Pro - Locales 6 years 9 months ago #5652

I understand how to setup locales, but it seems they do not apply to month display (.evo-month)?

Is there a way to display month in different language(s)?
Attachments:
The administrator has disabled public write access.

Facebook Events Pro - Locales 6 years 9 months ago #5653

Found it! In default.php, line 279, changed
<em class="evo_month" mo="mar"><?php echo  date('M', strtotime($fbevent["start_time"]))?></em>
to
<em class="evo_month" mo="mar"><?php echo  strftime('%b', strtotime($fbevent["start_time"]))?></em>

so that's ok.

But, strange thing is, it works well if I place locale sr_RS (serbian cyrilic) but if I try sr_YU (serbian latin) it comes back to english. I have tried sr_Latn_RS and some other options, all the same. Why is that??
The administrator has disabled public write access.

Facebook Events Pro - Locales 6 years 9 months ago #5663

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hello Milan Markovic
Great. :) but the language for the date is php regulations and we can not change it
Best regards
Bach Pham
The administrator has disabled public write access.
Time to create page: 0.142 seconds