Results 1 to 4 of 4

Change language in counter

This is a discussion on Change language in counter within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, where can I change the language for the days and months in the counter?...

      
  1. #1
    New Member
    Join Date
    Apr 2004
    Posts
    20
    Rep Power
    0


    Default Change language in counter

    Hi,
    where can I change the language for the days and months in the counter?

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Counter? What counter did you add? Mod?

    Maybe you thinking of the banner stats?

    Try modifying : include/language/<your language>/banner_statistics.php


    Good Luck
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    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. #3
    New Member
    Join Date
    Apr 2004
    Posts
    20
    Rep Power
    0


    Default

    Hi jpf
    Thank's for answering.

    I run Osc2.2 ms2. It's not a mod or banner.

    It's the counter in the footer that count xx hits since installation date.
    Checked the table counter and counter history in db, but can't find anything to change.

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    You mean you want to chage the 'Requests since' text....Try your language files

    In include/language/<all_language>.php
    (like english.php) look for and change:
    define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

    If you want to change the DATE FORMAT then look in the SAME file:

    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    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('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');


    The footer uses: 'DATE_FORMAT_LONG'
    the LANGUAGE used is set by 'setlocale' and the language set "en_US.ISO_8859-1" sets the "language_country.charaterset" and must be vaild (installed) for the server.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    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!

Similar Threads

  1. Removing Request To View Page Counter
    By torweb in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 05-16-2006, 09:58 PM
  2. Copyright and hits counter not showing on index page
    By coastersteve in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 06-21-2005, 08:12 AM
  3. change the look - remove the currency and language box
    By hmpf99 in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 09-19-2004, 06:59 AM
  4. remove request since counter
    By okatoma in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 07-19-2004, 07:54 AM
  5. Reset counter and product accesses into database
    By ZeroCool in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-04-2003, 01:23 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
  •