Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where to change the day of the week?


Joochen

Recommended Posts

Posted

I am using the german version of OSC and it works mostly fine for me.

 

But there's one little thing I can't find in the php-files: where do I change the names of the weekdays? The variable is called %s ...

 

Does anyone know that?

Posted

look in catalogincludeslanguagesgerman.php

 

// look in your $PATH_LOCALE/locale directory for available locales..

// on RedHat try 'de_DE'

// on FreeBSD try 'de_DE.ISO_8859-1'

// on Windows try 'de' or 'German'



setlocale(LC_TIME, 'de_DE.ISO_8859-1');

the locale must be changed according to your OS.

 

%s isn't the variable:

http://www.php.net/manual/en/function.sprintf.php

there is a good explanation of what it is.

 

HTH

Posted

It seems, as if none of these three formats can be parsed by my server. Has anyone experience with SuSE?

 

This is, what my phpinfo says:

System: Linux server22 2.4.19 #3 Wed Aug 28 18:19:18 CEST 2002 i686 unknown 

Build Date: Sep 28 2002 23:12:35

 

In fact, I don't know, what kind of OS the server is running ... hmm ....

 

http://www.fehmarn-bauernmarkt.biz/x.php

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...