Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 03:42 am EST
Geeklog Forums
Date Language
Status: offline
predz0r
Forum User
Junior
Registered: 10/18/05
Posts: 24
hi all geeklogers
im having a language problem with date, i have everything right as far i can see, im using language spanish, the spanish.php is right with the days of the week and the months but im still getting english dates, only the dates, everything else is perfectly in spanish, does someone know what im doing wrong? thx for your help
im having a language problem with date, i have everything right as far i can see, im using language spanish, the spanish.php is right with the days of the week and the months but im still getting english dates, only the dates, everything else is perfectly in spanish, does someone know what im doing wrong? thx for your help
9
7
Quote
Status: offline
predz0r
Forum User
Junior
Registered: 10/18/05
Posts: 24
$_CONF['language'] = 'spanish';
$_CONF['locale'] = 'es-ES';
$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z';
$_CONF['daytime'] = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%I:%M%p';
$_CONF['week_start'] = 'Sun'; // can be 'Sun' or 'Mon'
$_CONF['default_charset'] = 'iso-8859-1';
----------------------------------------------------------------
thats my config and it doesnt work, i dont know if its getting the date from the server configuration.... dunno... i deleted the english.php file in the language folder and it still showing it in english, i added it again and nothing happens, dunno whats wrong
$_CONF['locale'] = 'es-ES';
$_CONF['date'] = '%A, %B %d %Y @ %I:%M %p %Z';
$_CONF['daytime'] = '%m/%d %I:%M%p';
$_CONF['shortdate'] = '%x';
$_CONF['dateonly'] = '%d-%b';
$_CONF['timeonly'] = '%I:%M%p';
$_CONF['week_start'] = 'Sun'; // can be 'Sun' or 'Mon'
$_CONF['default_charset'] = 'iso-8859-1';
----------------------------------------------------------------
thats my config and it doesnt work, i dont know if its getting the date from the server configuration.... dunno... i deleted the english.php file in the language folder and it still showing it in english, i added it again and nothing happens, dunno whats wrong
9
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by predz0r: but it didnt fix the date language in the block - older stories
The contents of that block are cached, so you have to force-update it. Go to the Admin's block editor and simply edit and save that block, without changing anything.
bye, Dirk
8
10
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
I've experienced this myself and I think I found a perfect solution for this
Create a php page e.g. locale.php with this content
system('locale -a');
?>
Copy it to the server and run it. It should return a set of all locale defined on your server including the ones you need.
See how it works here
HTH
Geeklog Polish Support Team
Create a php page e.g. locale.php with this content
Text Formatted Code
<?system('locale -a');
?>
Copy it to the server and run it. It should return a set of all locale defined on your server including the ones you need.
See how it works here
HTH
Geeklog Polish Support Team
10
8
Quote
All times are EST. The time is now 03:42 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content