Translate eventlist

GK User
Sat Jun 07, 2014 12:24 am
Hi everyone
Where can I translate the date-styles (month in words, day in word, time am/pm etc.), and words like "when", in the event-lists to a other language style? Can´t find it in the language .ini´s

Thanks for helping

Ernst
Germany
User avatar
Fresh Boarder

GK User
Sat Jun 07, 2014 9:34 am
From what I see it depends on your server settings.
I'll ask our dev team if there is a chance to modify the language.
User avatar
Moderator

GK User
Mon Jun 09, 2014 12:39 am
Thanks a lot. That will make me happy

Greetings
Ernst
User avatar
Fresh Boarder

GK User
Mon Jun 09, 2014 3:46 pm
Those elements are editable inside each k2 "event list" element.
User avatar
Moderator

GK User
Wed Jun 11, 2014 8:46 pm
Hello,

i have the same problem. How can i change the english date in the module "News Show Pro GK5 " on the "header_left" position on frontpage. i try to edit the "controller.php" in "modules -> mod_news_pro_gk5 -> portal_modes -> events_list" but it doesn't work. please help me to fix the date in this module to the standard language. in my case "german".

see the attached file
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 7:53 am
Hi cyberek,
thanks for answering. But can you explain a dummy where and how in the event-list-elements I have to change the date-format? Think I tried everything. Is´nt it a part of NSP GK5? Is´nt K2 only for content? It looks that the word "when" and the date are not a part of content. Be sure we talk about the same module: in your example-site - home - module NSP GK5 header left.

And for this another problem. In the list (NSP GK5 header left) the date of evening start is shown. By click on this, on the detail page ist the date of publishing. In NSP GK5 I had only found the choice "publishing date or create date". Is there a chance to change it?

Markus did you found a solution? (cant see your attached file) . I´m happy that I stand not alone :-)

Ernst
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 9:37 am
Hi Ernst,

didn't find a solution for this problem. The code is in "controller.php" in "modules -> mod_news_pro_gk5 -> portal_modes -> events_list". See attached file "code.jpg". But i have no solution.

you are right. on the detail page there is the publishing date and on the calendar too. why? in the events list and in the calendar it is important to show the date of the event and not the publishing date…that makes no sense.

Markus
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 10:14 am
Hi all,

I also started to play with the template and the first thing I tried was to incorporate a 2 language site (English/Greek). I started by using the quickstart package. When I save each article as Greek the format in the first page breaks and only the title appears. If I change it back to All (as the default value was) the item remain broken (!!!!???). Could you please point us on where the formating for those elements exist? (Can't point you to a site - I'm testing on xamp right now).

Kind regards,
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 2:51 pm
Sorry, but I can't help you when you are bombarding with questions faster than machine gun ;).
@talosk - please create a separate thread with your question.

#markushoffmann - what is your current problem?
User avatar
Moderator

GK User
Thu Jun 12, 2014 3:02 pm
Hi Cyberek,

How can i change the english date in the module "News Show Pro GK5 " on the "header_left" position on frontpage in german date (see date.jpg).

Other problem. How can I change the Date in Detail Page of Events in the top? Here is the publishing date and not the date of the event. Also in the calendar. it makes no sense to use a calender in events which displays the publish date of an event and not the start of the event…

thanks…
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 3:45 pm
Ok, lets start with the date on Latest Events homepage module (News Show Pro) on the left of each event - the one in square box - I understand that this is your question :).
The problem is in locale that is set in your wordpress. Probably it is still set to en_EN. To fix that you can set locale inr that module... Please edit:
/modules/mod_news_pro_gk5/portal_modes/events_list/controller.php
find this code:
Code: Select all
function output() {   
      // main wrapper

and modify it to:
Code: Select all
   function output() {   
      setlocale(LC_TIME, "de_DE");
      // main wrapper
User avatar
Moderator

GK User
Thu Jun 12, 2014 3:56 pm
If it goest generally to this question - is your default joomla language english or german?
User avatar
Moderator

GK User
Thu Jun 12, 2014 4:00 pm
thanks…it works…but why should i modifiy the code to "de_DE"? My default language in joomla is german…the could should take the default language for the date…
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 4:04 pm
Yes, it should, I'll take a look on that topic and answer more advanced developers for help - it should work fine out of the box.
User avatar
Moderator

GK User
Thu Jun 12, 2014 4:07 pm
ok…thank you so much…can you answer me to my last question?
User avatar
Fresh Boarder

GK User
Thu Jun 12, 2014 4:10 pm
The one with callendar?
User avatar
Moderator

GK User
Thu Jun 12, 2014 4:20 pm
with calendar and the detail page of an event…in the top of the detail page there is also a box with the date. but the publish date and not the date of the event start
User avatar
Fresh Boarder

GK User
Sat Jun 14, 2014 8:07 am
The way published date works (and calendar) sadly - it is designed this way. I have asked our devteam if it can be changed.
User avatar
Moderator


cron