Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Translation of DATE in other Language

Featured Lock Resolved Bug
I'm using Your great Strings template for a German homepage.
I have a problem with the date translations (for 'days') at the single event view.
I've copied the 'en-GB.tpl_shaper_strings.ini' to 'de-DE.tpl_shaper_strings.ini' and did the appropriate changes.
Everything went fine - except the translations of the day DATES (see attached screenshot).
The German Date messages are defined well at the file '../media/system/js/mootools-more.js' beginning from line number 756. But they don't show up.
Could You please correct it in the code?
Thanks in advance,
Ulf

Attachments (1)

  • dates_day_translation.jpg
    dates_day_translation.jpg 172.2 KB

3 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Please following the instruction.

1. Go to the file location & open default.php file
components/com_spstrings/views/event/tmpl/default.php
2. Find out the code

<?php echo JHtml::date($this->item->event_start_date, 'dS F'); ?>
- <?php echo JHtml::date($this->item->event_end_date, 'dS F'); ?>


And replace with this code

<?php echo JHtml::date($this->item->event_start_date, 'd F'); ?>
- <?php echo JHtml::date($this->item->event_end_date, 'd F'); ?>


-Thanks

Ulf Lohberg

More than a month ago #Permalink
hi Toufiq,
quick reply and highly appreciated solution.
Thanks a lot - Joomshaper rocks !
And their service team too !!!
Best regards
Ulf

Toufiq - Staff

More than a month ago #Permalink
hi Toufiq,
quick reply and highly appreciated solution.
Thanks a lot - Joomshaper rocks !
And their service team too !!!
Best regards
Ulf


Hi, Thanks for your reply & you are most welcome. Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 128
Sifat

Sifat

Total Accepted Answers: 83
Toufiq

Toufiq

Total Accepted Answers: 40
Pavel

Pavel

Total Accepted Answers: 6
Sohan

Sohan

Total Accepted Answers: 4

114

Templates

292627

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us