Guest Posted February 2, 2004 Share Posted February 2, 2004 :ph34r: I want to change the date and month to my language how can i do it ,... Like: Monday, Tuesday .... January, Feb ..... --> my language ... please give me an example I am really suck with php Thanks :P Link to comment Share on other sites More sharing options...
graxxon Posted February 21, 2004 Share Posted February 21, 2004 I also trying to find this month and day names to translate :unsure: , but I only find monthnames once in osCommerce 2.2 source :huh: , but this is not that what I looking for. <_< Link to comment Share on other sites More sharing options...
burt Posted February 21, 2004 Share Posted February 21, 2004 Open up your language file (eg english is): /includes/languages/english.php Find the following code: @setlocale(LC_TIME, 'en_US.ISO_8859-1'); Change it to locale you want. See http://uk.php.net/setlocale Eg, dutch: @setlocale(LC_TIME, 'nl_NL.ISO_8859-1'); See http://www.w3.org/WAI/ER/IG/ert/iso639.htm for a bunch of codes. Link to comment Share on other sites More sharing options...
zaps Posted February 27, 2004 Share Posted February 27, 2004 My site is hosted in US but my customers are from New Zealand. How do I change the time to NZ time? Please help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.