This is a discussion on How to localize month and day names? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I have one little problem left with OSC : how can I change the names of months and days to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have one little problem left with OSC: how can I change the names of months and days to the local language (In dutch I would like to see "Maart" instead of "March"). I want to run three languages: english, french, dutch and french and dutch people are likely to want to read the names in their own language.. |
|
#2
| ||||
| ||||
| Find this line in your /includes/languages/englsih.php or whatever language file you want to show the dutch formatted time, and change this line: @setlocale(LC_TIME, 'en_US.ISO_8859-1'); to this: @setlocale(LC_TIME, 'de_AT@euro'); Your dates will be translated.
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Add required to some of the field names | oneplace2u | osCommerce 2.2 Modification Help | 0 | 09-04-2006 05:33 PM |
| How can I allow my search to also include category names? | DeltaWolf7 | osCMax v2 Customization/Mods | 0 | 08-11-2005 03:24 AM |
| Long Catagory Names | acappie | osCMax v1.7 Installation | 4 | 04-28-2005 03:08 PM |
| how to add graphical category names | serBelenguer | osCommerce 2.2 Modification Help | 0 | 10-13-2004 02:01 PM |
| Shipping names | Anonymous | osCMax v1.7 Discussion | 1 | 12-04-2003 03:13 PM |