Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 22-06-2011 13:06:41

WimDC
Members
Registered: 18-06-2011
Posts: 5

dates

is it possible to show the dates in the "coming soon" page AND the "event-detail"-page in DUTCH ?

I installed the Dutch language file and also activated this in the settings,  but in the coming-soon page and the event-detail-page, there's still "Sunday 26 juni 2011" 

I'm using the %W %e %M %Y date-notation.

I checked the Dutch language file and there is no English date mentioned.

What's going wrong?

Last edited by WimDC (24-06-2011 05:22:01)

Offline

#2 23-06-2011 06:19:20

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,118

Re: dates

Its using the php date functions without conversions. At the top of the main index.php file try putting:

setlocale(LC_ALL, 'nl_NL');

See if that helps.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 23-06-2011 17:06:38

WimDC
Members
Registered: 18-06-2011
Posts: 5

Re: dates

David,

doesn't change anything. I even tried to change the english language file with the Dutch words, but also without result.

It's strange that the month is "translated" (= taken from the Dutch language file) but not the weekday.


Wim

Offline

#4 23-06-2011 18:03:38

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,118

Re: dates

ah, ok, the locale is for the PHP date format. In the settings the date is the mysql format. At the moment Maian Events doesn`t support the mysql locale.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 24-06-2011 05:21:42

WimDC
Members
Registered: 18-06-2011
Posts: 5

Re: dates

David,

OK, but there's still the question why the month is in Dutch and not the weekday...

Wim

Offline

#6 27-06-2011 06:07:05

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,118

Re: dates

WimDC wrote:

David,

OK, but there's still the question why the month is in Dutch and not the weekday...

Wim

Good question. I don`t know to be honest. The code does seem to be translating the text to the language file alternative. You sure 'Sunday' isn`t in the language file? If its not, I`ll check the dutch file in my test set up.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#7 27-06-2011 06:32:33

WimDC
Members
Registered: 18-06-2011
Posts: 5

Re: dates

David,

I'm pretty sure and - for testing - I downloaded and installed the spanish text-file and even there, I see "Sunday" but the month is translated in spanish.

Wim

Offline

#8 27-06-2011 12:33:19

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,118

Re: dates

Hi Wim,

Ok I`ll check those myself and get back to you.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy