1
risto
time format is xoops
  • 2005/7/4 8:52

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


For some reason I cant use the
setlocale (LC_ALL'no_NO');
command

I need to use local norwegian day and month names on several sites. How do i use it. somewhere in XOOPS its beeing overridden. can somone point me to the right place to add:
setlocale (LC_ALL'no_NO');
?
......

2
skenow
Re: time format is xoops
  • 2005/7/5 20:41

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


I couldn't find 'setlocale' in any XOOPS file, but did some research at the PHP website - your server needs to support the setlocale function for it to work. See this link.

3
risto
Re: time format is xoops
  • 2005/7/6 9:27

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


yes I know and the server dos. But fore some reson XOOPS overrifes it.
......

4
CeBepuH
Re: time format is xoops
  • 2005/7/6 10:01

  • CeBepuH

  • Not too shy to talk

  • Posts: 128

  • Since: 2002/6/10


If you are trying to accomplish this through smarty you should set the locale in class/smarty/plugins/modifier.date_format.php
Humans need fantasy to be humans. To be the place where the fallen angel meets the rising ape.

5
risto
Re: time format is xoops
  • 2005/7/6 10:09

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


good sugestion, but yet again its not working.
......

6
risto
Re: time format is xoops
  • 2005/9/8 18:58

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


WOW,
setlocale (LC_ALL'no_NO.ISO8859-1');
is now working.


I set it as the first line in mainfile.php
......

Login

Who's Online

401 user(s) are online (295 user(s) are browsing Support Forums)


Members: 0


Guests: 401


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