osCmax v2.5 User Manual
Results 1 to 2 of 2

How to localize month and day names?

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 ...

      
  1. #1
    Lurker
    Join Date
    Dec 2004
    Posts
    4
    Rep Power
    0


    Default How to localize month and day names?

    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. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: How to localize month and day names?

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Add required to some of the field names
    By oneplace2u in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-04-2006, 05:33 PM
  2. How can I allow my search to also include category names?
    By DeltaWolf7 in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 08-11-2005, 03:24 AM
  3. Long Catagory Names
    By acappie in forum osCMax v1.7 Installation
    Replies: 4
    Last Post: 04-28-2005, 03:08 PM
  4. how to add graphical category names
    By serBelenguer in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-13-2004, 02:01 PM
  5. Shipping names
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-04-2003, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •