Support Forums

Date added in Order History

This is a discussion on Date added in Order History within the Technical Support forums, part of the Technical Support Forums category; Hello everyone, When I go to "my account " and then in my "Order history" I get the page where ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 09-18-2009, 07:22 AM   #1
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 203
Rep Power: 12
magicosta is on a distinguished road
Default Date added in Order History

Hello everyone,

When I go to "my account " and then in my "Order history" I get the page where I have the status of the different ads.

The date added is displayed in english and in full letters like for exemple, Friday 18 September 2009.

Is there a way to change that date and translate it in an other language?

Thank you for your help
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline  
Old 09-18-2009, 09:41 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,496
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You can change the date format in administration -> settings:
Regional Settings - 68 Classifieds
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 09-18-2009, 10:20 AM   #3
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 203
Rep Power: 12
magicosta is on a distinguished road
Default

Thank you Eric,

But in fact, I just wanted to translate.

Now, I wrote in the spanish language file : setlocale(LC_TIME, 'sp_SP','sp');

It's giving me now the translation of the added date in spanish but I still have probleme with special spanish caracters like "" and ""

I put as well the following code but doesn't change anything!

define("LANG_CURRENCY_CODE", "EUR"); //[USD,GBP,JPY,CAD,EUR]
define("LANG_NAME","Español");
define('LANG_CHARSET_CODE','iso-8859-1');
define('LANG_CHARSET_MAIL_CONTENT_TYPE','text/plain');
define('LANG_CHARSET','text/html; charset=' . LANG_CHARSET_CODE);

Any idea?

Thank you
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline  
Old 09-18-2009, 10:23 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,496
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

In your layout have you changed your charset? It is best left to utf-8 as that is how things are saved and are expecting it to be shown.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 09-18-2009, 10:43 AM   #5
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 203
Rep Power: 12
magicosta is on a distinguished road
Default

Yes, in my layout.tpl I have the following code line:

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline  
Old 09-18-2009, 11:12 AM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,496
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Is it possible to post a link to the page with the error?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 09-18-2009, 11:36 AM   #7
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 203
Rep Power: 12
magicosta is on a distinguished road
Default

In fact I haven't any error message displaayed.

This is just the caracters with accents which are not displayed.

In my "Order history" section , in english I have for exemple Saturday 28 March 2009 and in spanish instead to have Sabado 28 Marzo 2009, I get: Sbado 28 Marzo 2009.

This caracter is corresponding to " ".

It is strange because, these caracters elsewhere are showing up.

I must add that for the DATE ADDED , the first letter in english is a capital letter and in spanish it'is a small letter!
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline  
Old 09-18-2009, 11:50 AM   #8
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 203
Rep Power: 12
magicosta is on a distinguished road
Default

Maybe it can help, I would like to point out that my site is not hosted by any server as I am developping with xxamp in internal.

Could be a configuration issue, no?
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline  
Old 09-18-2009, 12:10 PM   #9
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,496
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

I just found another forum post with a similiar problem. So maybe try changing it to:
Code:
setlocale (LC_TIME, 'es_ES.utf8');
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 09-18-2009, 02:29 PM   #10
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 203
Rep Power: 12
magicosta is on a distinguished road
Default

Thank you Eric to look after my problem,

...unfortunatly it is not working. With that code, instead to get the text in spanish i get it in english.
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Added and Expiration Date suav Technical Support 2 09-10-2008 01:48 AM


All times are GMT -4. The time now is 09:13 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0