This is a discussion on How to set date in footer to another format within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; How can I set date in footer (actual day and the day since counter is active) in another format? I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| How can I set date in footer (actual day and the day since counter is active) in another format? I would need Slovak names of the days and months, or maybe simplier - NO names of the days and numbers of months instead of their names. THX for every help. |
|
#2
| |||
| |||
| format can b changed from "catalog/includes/languages/yourLanguage/yourLanguage.php" where yourLanguage is the language u r using, i.e English or whatever |
|
#3
| |||
| |||
| But, where could I define names of months? Or where can I change the way of displaying it? I did not find it in catalog/includes/languages/yourLanguage/myLanguage.php |
|
#4
| |||
| |||
| I have a related problem. I get Finnish day and month names in most places in the finnish interface, but not in all the emails and I have no idea how to fix this as I haven't found where the names of the days and months are called from. |
|
#5
| ||||
| ||||
| The day of the week and months are not stored in OSC (except for month names in Spiffy DHTML Popup Calendar Control - a javascript file included with OSC). This is an OS/bowser based lookup. Nothing to do with OSC - as that fuction for display is handed to the bowser to display the proper language. As for the EMAIL - that is sent though the SERVER (via PHP) and would pass that to the server's OS. To set PHP to use the CORRECT ISO Language to the date/time set in your main lauguage file: i.e.:in languages/german.php @setlocale(LC_TIME, 'de_DE.ISO_8859-1'); Everything in OSC is set to use the ISO language specified. It is ther server that may not have the proper ISO language installed/enabled.
__________________ 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! |
|
#6
| |||
| |||
| THX for help jpf. When I porperly set this ISO, it shows coorect nanmes. But only on provider's server, on my Apache with PHP and MySQL modules, it shows only ENG names... But nevermind, I don't need it at home... |
|
#7
| ||||
| ||||
| As I said - you have to have the proper ISO lauguage (number) installed on the server - MOST Windows "localhost" type boxes don't have more than 1 or 2 installed as a default .....
__________________ 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! |
|
#8
| |||
| |||
| I keep forgetting about admin/includes/languages/finnish.php So if anyone else has problems getting the date right in emails spawned from the admin interface, check your language file on the admin side. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FAQDesk, Change date format?? | HollyRidge | osCMax v2 Customization/Mods | 0 | 09-28-2005 02:50 PM |
| Quick about date format | damnedpig | osCMax v1.7 Discussion | 2 | 07-02-2004 07:27 AM |
| Date format question | Dr_Evil | osCommerce 2.2 Modification Help | 3 | 10-23-2003 06:23 AM |
| Change date format | don | osCommerce 2.2 Installation Help | 1 | 01-31-2003 07:03 PM |
| Date format | killermonkey | osCommerce 2.2 Modification Help | 3 | 01-24-2003 02:07 AM |