This is a discussion on How to change the "date" and "months" na within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I need to change the standard date/month name format into my local language. I think the standard (english) format is ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I need to change the standard date/month name format into my local language. I think the standard (english) format is defined in index.php (perhaps in more places?): @setlocale(LC_TIME, 'en_US.ISO_8859-1'); Is this the line that needs to be modified? Thanks, oling |
|
#2
| ||||
| ||||
| Close - look further own the file. Code: define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| This is the portion in my languague file: @setlocale(LC_TIME, 'ISO_8859-1'); define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd.m.Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); It still shows date and months in english (January, February...). I need these (dates and months) to appear in my own languague (translated). Any further suggestions would be greatly appreciated. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove "QTPRO" for "Option Type Feature" | adam71o | osCMax v2 Customization/Mods | 3 | 01-10-2007 10:32 AM |
| Remove "This product was added" date | kenlyle | osCMax v2 Features Discussion | 1 | 11-14-2005 11:48 AM |
| "Price" and "Add to Cart" button inside | midwestwebsites | osCMax v2 Customization/Mods | 3 | 11-14-2005 05:13 AM |
| Change Create Order Text "Réduction" and "Li | kelly34 | osCMax v2 Customization/Mods | 3 | 08-03-2005 10:55 AM |
| "Product Expected" date incorrect by EZPopulate | bjrafferty | osCMax v1.7 Discussion | 0 | 09-14-2004 02:10 PM |