1
incama
Dutch month format
  • 2005/10/11 9:52

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

2
incama
Re: Dutch month format
  • 2005/10/12 6:38

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

3
incama
Re: Dutch month format
  • 2005/10/13 4:53

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

4
McDonald
Re: Dutch month format
  • 2005/10/13 9:35

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


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/language.function.html.select.date.php

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

5
incama
Re: Dutch month format
  • 2005/10/13 10:24

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

6
marcan
Re: Dutch month format
  • 2005/10/13 16:42

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


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 ::.

7
gediminasbyt
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

8
incama
Re: Dutch month format
  • 2005/10/13 18:38

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

9
incama
Re: Dutch month format
  • 2005/10/29 10:15

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

10
incama
Re: Dutch month format
  • 2005/11/2 7:58

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


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...

Login

Who's Online

161 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 161


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits