xoops forums

incama

Friend of XOOPS
Posted on: 2005/10/11 9:52
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#1

Dutch month format

Now I'm really confused.
I'm building a new Dutch website with XOOPS 2.0.13.1. As always it just turns up nice. Using the standard news module that comes with XOOPS there is one thing I am not able to establish: the news post date month formatting in Dutch:

I'm using the dutch language files and already have adjusted the global.php as descripted in de XOOPS faq.

I have adjusted the global.php so it shows the month name in the post date (eg September etc) but it only shows up in English and not in dutch. The strange part is that when visiting the archive.php of the news module, the month is spelled in Dutch!?!

My question: How do I get the right month language (dutch) in the news articles?

Thanks in advance,
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

incama

Friend of XOOPS
Posted on: 2005/10/12 6:38
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#2

Re: Dutch month format

Nobody have a clue? Is my question clear? Are their people who succesfully converted their month names in the standard news module?
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

incama

Friend of XOOPS
Posted on: 2005/10/13 4:53
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#3

Re: Dutch month format

After a chat with Michael he figured out that the dates were generated by smarty and not by php directly. We both are no programmers (well Michael used to be a long time ago) so we are not able to convert this somehow. Is there somewhere anyone who has succesfully converted this? Most people may think "use the 20/10/2005 format instead!", but from a designers point of view this is not an option.

thank you in advanced.
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

McDonald

Home away from home
Posted on: 2005/10/13 9:35
McDonald
McDonald (Show more)
Home away from home
Posts: 1072
Since: 2005/8/15
#4

Re: Dutch month format

Maybe the following Smarty information about dates can help you: http://smarty.php.net/manual/en/language.modifier.date.format.php

http://smarty.php.net/manual/en/tips.dates.php

http://smarty.php.net/manual/en/langu ... tion.html.select.date.php

This does not change the language used for the date of course.

incama

Friend of XOOPS
Posted on: 2005/10/13 10:24
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#5

Re: Dutch month format

Well thank you McDonald, I will read your givin links, I'm just wondering weither I'm able to understand this complex matery (hey give me a stylie instead:). I will have a go at it and let you know if it works. Thank you again.
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

marcan

Just can't stay away
Posted on: 2005/10/13 16:42
marcan
marcan (Show more)
Just can't stay away
Posts: 824
Since: 2003/10/8
#6

Re: Dutch month format

I did a little of research. Here is the results :

- I can reproduce the exact same behavior in the News module locally, so it is not "site-related"

- I can reproduce the exact thing with SmartSection, so it is not News related

- I can reproduce the exact same thing with the French language, so the problem is not the language pack.

Can anyone else confirm this to me ?

I also did an echo $someDate and it displayed the month incorrectly, always in english, whatever the language used (french, nederland), so to my knowledge, it is not Smarty related.

Anyone else can help us ?

Cheers!
.:: marcan (aka mal aka Marc-André) ::.
.:: Open Source :: The SmartFactory ::.
.:: XOOPS Professional Services :: INBOX International ::.
Posted on: 2005/10/13 17:39
gediminasbyt
gediminasbyt (Show more)
Posts: 484
Since: 2005/3/18
#7

Re: Dutch month format

I have this problem in all my modules. Have tried to figure that one out for some time now wihout any success. Someone with a solution or success stories would be appreciated. If you are successfull in gettind correct dates please post:

XOOPS Version(upgrade or fresh install):
Module Name/Version(that works/doesnt work):
PHP Version:
MySQL Version:
Web Server Software (Apache/IIS/Other):
Operating System:
Theme you are using:

If doesn't work please report any of the following:
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:


My output:

Xoops Version:Ugrade from 2.2 to 2.2.2
Module Name/Version: PDDownloads1.2RC1 NewBB2.2 and probably others. Some are using date format, no week names in words.
PHP Version: 5
MySQL Version: 4.1
Web Server Software (Apache/IIS/Other):Apache
Operating System:Any
Theme you are usingefault xoops(slightly modified)
PHP Debug Messages:None
MySQL Debug Messages:None
Smarty Debug Messages:None

Gediminas

incama

Friend of XOOPS
Posted on: 2005/10/13 18:38
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#8

Re: Dutch month format

Glad to hear I'm not the only one who has this 'problem'. Marcan, thank you for taking this seriously and for the time you already have spend on this issue. We know where to find me.

Dave
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

incama

Friend of XOOPS
Posted on: 2005/10/29 10:15
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#9

Re: Dutch month format

Is their any progress on this? I know I'm really nagging about this 'small for some' glitch, but I really want to know what I can do to make this work.
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...

incama

Friend of XOOPS
Posted on: 2005/11/2 7:58
incama
incama (Show more)
Friend of XOOPS
Posts: 513
Since: 2003/10/24
#10

Re: Dutch month format

Well okay,.,.just a post to bring this topic on top again, sorry for this, I know I'm nagging:)
Webdesign
Sitting Ducks?!
I hate politics, give me a stylie instead...