Support Forums

Date in italian translation in userbrowselistings page

This is a discussion on Date in italian translation in userbrowselistings page within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? Example: V4.1.10 Developers Please describe in detail the issue you are having: ...


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

Reply
 
Thread Tools Display Modes
Old 05-03-2010, 06:53 AM   #1
Customer
 
Join Date: Sep 2008
Posts: 51
Rep Power: 15
ronin is on a distinguished road
Default Date in italian translation in userbrowselistings page

What version of 68 Classifieds are you running?
Example: V4.1.10 Developers

Please describe in detail the issue you are having:
I would like to have date in italian "translation" when I'm in the userbrowselistings.php page.

I see (example) September 23, 2012..

I'd like "23 Settembre, 2012"..

SeyourJames suggest me to look at "Regional Setting" page (administration/settingsregional.php), but I'm not a coders and I can't figure out how translate the format date in in italian..

Is that possible, and how?

Please note: date in calendar are in Italian, as I already translate it.
I refer to date in user browser lisitn page.

Thanks!
ronin is offline   Reply With Quote
Old 05-03-2010, 08:35 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

If you are using php 5.1 or higher you will probably need to add this to your language file:
PHP: date_default_timezone_set - Manual
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 05-03-2010, 10:39 AM   #3
Customer
 
Join Date: Sep 2008
Posts: 51
Rep Power: 15
ronin is on a distinguished road
Default

Hi Eric, thanks for reply!

I'm using php 5.1.6 on my server.

But.. I'm not a coders, like you know..
So, what I have to do to apply this change?
ronin is offline   Reply With Quote
Old 05-03-2010, 10:58 AM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You just add the code like this:
PHP Code:
date_default_timezone_set('America/Los_Angeles'); 
Changing the America/Los Angeles" with your area.

Or you can also try this one:
PHP Code:
setlocale(LC_TIME'it_IT'); 
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 05-03-2010, 11:06 AM   #5
Customer
 
Join Date: Sep 2008
Posts: 51
Rep Power: 15
ronin is on a distinguished road
Default

Yes, but ... where?



(sorry, I'm very noob about that...)
ronin is offline   Reply With Quote
Old 05-03-2010, 03:37 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 136
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Just open your language file in a text editor and add this just below the opening php.
PHP Code:
<?php
setlocale
(LC_TIME'it_IT');  
// rest of strings
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 05-04-2010, 04:27 AM   #7
Customer
 
Join Date: Sep 2008
Posts: 51
Rep Power: 15
ronin is on a distinguished road
Default

Thanks, Eric!

Solved!
ronin is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Renewal = Date Added pipelin Technical Support 10 10-29-2009 12:18 PM
Translation question kayfi Technical Support 4 05-21-2009 10:33 AM
Italian Translate? Ricsca Pre Sales Questions 1 01-14-2009 09:56 AM
Date Added and Expiration Date suav Technical Support 2 09-10-2008 01:48 AM


All times are GMT -4. The time now is 04:38 AM.


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