Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCommerce con chino como tercer idioma


juliocsg54

Recommended Posts

estoy modificando uno de los osCommerce q compre pero estoy remplazando el aleman por el chino peero me da este error solo en una pag las demas funcionan perfectamente y es la de mi cuenta:S (http://www.la-tienda-de-las-intimidades.com/osc/account.php)

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/lo000063/public_html/osc/includes/languages/chino.php:1) in /home/lo000063/public_html/osc/includes/functions/general.php on line 33

 

-------------------------chino.php--------------

<?php

/*

$Id: chino.php,v 1.124 2003/07/11 09:03:49 jan0815 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// look in your $PATH_LOCALE/locale directory for available locales

// or type locale -a on the server.

// Examples:

// on RedHat try 'de_CH'

// on FreeBSD try 'de_CH.ISO8859-1'

// on Windows try 'ch' or 'Chino'

@setlocale(LC_TIME, 'de_CH.ISO8859-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 strftime()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

////

// Return date in raw format

// $date should be in format mm/dd/yyyy

// raw date is in format YYYYMMDD, or DDMMYYYY

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2);

}

}

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)

define('LANGUAGE_CURRENCY', 'EUR');

 

// Global entries for the <html> tag

define('HTML_PARAMS','dir="LTR" lang="ch"');

 

// charset for web pages and emails

define('CHARSET', chinese');

 

// page title

define('TITLE', STORE_NAME);

 

// header text in includes/header.php

define('HEADER_TITLE_CREATE_ACCOUNT', '創造一個帳戶');

define('HEADER_TITLE_MY_ACCOUNT', '我的帳戶');

define('HEADER_TITLE_CART_CONTENTS', '推車內容');

define('HEADER_TITLE_CHECKOUT', '結算離開');

define('HEADER_TITLE_TOP', '上面');

define('HEADER_TITLE_CATALOG', '編目');

define('HEADER_TITLE_LOGOFF', '註銷');

define('HEADER_TITLE_LOGIN', '註冊');

.

.

.

--------------------------------------------------------------------

no se como hacer:S

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...