1
selwyn
How to change name of months or day?
  • 2004/8/1 20:52

  • selwyn

  • Just popping in

  • Posts: 63

  • Since: 2004/1/18


Hello,

in my template i have below the banner everyday the day and month. But i want to translate it to Dutch.
Witch file do i have to edit to get the day and months in Dutch?

I mean the month above the right blocks and below the banner.


Thanks in advance!




2
intel352
Re: How to change name of months or day?
  • 2004/8/1 22:31

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


i know time constants definitions reside in: xoops_root/language/english/global.php

or language/dutch/ << if that folder exists

maybe that'll have what you need, but really i'm just guessing.

3
selwyn
Re: How to change name of months or day?
  • 2004/8/1 23:41

  • selwyn

  • Just popping in

  • Posts: 63

  • Since: 2004/1/18


Quote:

bd_csmc wrote:
i know time constants definitions reside in: xoops_root/language/english/global.php

or language/dutch/ << if that folder exists

maybe that'll have what you need, but really i'm just guessing.


That seems not to solve the problem, maybe someone can help me....

4
intel352
Re: How to change name of months or day?
  • 2004/8/1 23:54

  • intel352

  • Module Developer

  • Posts: 824

  • Since: 2003/11/23


heh, sorry, just a guess

5
tl
Re: How to change name of months or day?
  • 2004/8/2 1:40

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You would have to be specific, either post the theme or a link to the site.

It could be in a javascript or php smarty, without seeing it, I don't think anyone can help you.


6
selwyn
Re: How to change name of months or day?
  • 2004/8/2 9:03

  • selwyn

  • Just popping in

  • Posts: 63

  • Since: 2004/1/18


Check http://www.halonline.nl

See it under the download and contact button. I want to translate the name of the months to dutch.

Many thanks for replying.



7
Herko
Re: How to change name of months or day?
  • 2004/8/2 9:22

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Check to see if there is a .js file somewhere in your theme folder. It's probably hardcoded there.

Herko

8
selwyn
Re: How to change name of months or day?
  • 2004/8/2 10:51

  • selwyn

  • Just popping in

  • Posts: 63

  • Since: 2004/1/18


Thanks Herko.

I fixed it !


9
selwyn
Re: How to change name of months or day?
  • 2004/8/2 11:04

  • selwyn

  • Just popping in

  • Posts: 63

  • Since: 2004/1/18


For my new theme i want to do the same as above...

Here's what the theme shows
<{$smarty.now|date_format:"%A, %B %e, %Y"}>

Where can i find the file to edit in this case?


Thanks!

10
tl
Re: How to change name of months or day?
  • 2004/8/2 12:25

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


<{$smarty.now|date_format:"%A, %B %e, %Y"}>

smarty.now currently only works in English.

You could "borrow" from your current theme and add the javascript into your new theme.

[edit]
you could take a look at a sample javacode
http://xoops-tips.com/modules/news/article.php?storyid=12

Dave Lerner has a "Javascript function that emulates PHP function: string date ( string format [, int timestamp ] )", you may want to check that out as well.
http://dave-l.com/grafix/index.php?page=xoops
[/edit]

Login

Who's Online

473 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 473


more...

Donat-O-Meter

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

Latest GitHub Commits