Hi,
Can i use some my own name for month name and date of week name?
e.g : "This product has been added on [my date], [my month] 2006."
Regard.
Hi,
Can i use some my own name for month name and date of week name?
e.g : "This product has been added on [my date], [my month] 2006."
Regard.
Welcome to zen cart mannguyenpcOriginally Posted by mannguyenpc
If you see the file:
\admin\includes\functions\general.php
-------------
function zen_draw_date_selector($prefix, $date='') {
$month_array = array();
$month_array[1] =_JANUARY;
$month_array[2] =_FEBRUARY;
$month_array[3] =_MARCH;
$month_array[4] =_APRIL;
$month_array[5] =_MAY;
$month_array[6] =_JUNE;
$month_array[7] =_JULY;
$month_array[8] =_AUGUST;
$month_array[9] =_SEPTEMBER;
$month_array[10] =_OCTOBER;
$month_array[11] =_NOVEMBER;
$month_array[12] =_DECEMBER;
------------
and the file:
\admin\includes\languages\english.php
------------
define('_JANUARY', 'January');
define('_FEBRUARY', 'February');
define('_MARCH', 'March');
define('_APRIL', 'April');
define('_MAY', 'May');
define('_JUNE', 'June');
define('_JULY', 'July');
define('_AUGUST', 'August');
define('_SEPTEMBER', 'September');
define('_OCTOBER', 'October');
define('_NOVEMBER', 'November');
define('_DECEMBER', 'December');
-----------
Its in these two files the months are defined
Hi,
I have edited english.php the month name with my language. But it still display by English (e.g: August), I think it call a function date[] from system. Otherwise, i want to change Monday, Tuesday,..... to my language too. Help me please.
Regard.
Can you tell me exactly where you want this? on which page
Many of the Date functions are based on the server's date and time - changing the Charset may help - See this FAQ - http://www.zen-cart.com/forum/faq.ph...ig#faq_charset
Hi,
You can view my site at http://www.giakhang.com.vn/
My language is Vietnamese. I have edited english.php with
@setlocale(LC_TIME, 'en_US.UTF-8');
to
@setlocale(LC_TIME, 'vi');
but the month still August. Please help me.
Regard.