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

Your Time: Our Time:

Translate Timeline date language and foramte

Featured Lock Resolved Issue
Hi dear Joomshaper Team

We're using the horizontal timeline in the Politist theme and it looks GREAT!

However, we need to have the right date format and translate it into german. How can we go from

01 January, 2006

to

1. Januar 2006

?

Thanks in advance for your help.

Regards
Emanuel

5 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi, I guess you thought about a timeline module from BIOGRAPHY.

You have to edit that file:
modules\mod_spcampaign_timelines\tmpl\default.php

Edit & customize line 44:

<?php echo date('d F, Y', $date); ?>


It's date format from PHP

Peter

More than a month ago #Permalink
Hi Paul

Great, that's it. Thanks a lot!

Now do you know, how to translate the month names into German (de_DE) eg. "January" in the screenshot?

Best regards

Attachments (1)

  • Bildschirmfoto 2019-01-22 um 08.52.35.png
    Bildschirmfoto 2019-01-22 um 08.52.35.png 283.6 KB

Paul Frankowski - Staff

More than a month ago #Permalink
This is PHP case, sorry I cannot help.
But you can replace month names into month number : https://secure.php.net/manual/en/function.date.php

Peter

More than a month ago #Permalink
Ok, we'll do it that way. Thanks anyway :-).

Have a nice day.


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: 134
Toufiq

Toufiq

Total Accepted Answers: 106
Sifat

Sifat

Total Accepted Answers: 69
ES

Emma Seymour

Total Accepted Answers: 1
B

blueoceanyyc

Total Accepted Answers: 1

116

Templates

300070

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