Localized dates...
myonlyeye 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Localized dates...
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Localized dates...
On the main page? Add the following in the news_subheader template:
After:
Add:
and save the template
On the main page? Add the following in the news_subheader template:
After:
<?php
global $insert;
Add:
$insert[story_day] = str_replace("January","Janner",$insert[story_day]);
$insert[story_day] = str_replace("Feburary","Februar",$insert[story_day]);
$insert[story_day] = str_replace("March","Mars",$insert[story_day]);
$insert[story_day] = str_replace("May","Mai",$insert[story_day]);
$insert[story_day] = str_replace("June","Juni",$insert[story_day]);
$insert[story_day] = str_replace("July","Juli",$insert[story_day]);
$insert[story_day] = str_replace("October","Oktober",$insert[story_day]);
$insert[story_day] = str_replace("December","Desember",$insert[story_day]);
and save the template
Is it possible to localize the date format, i.e. "June 25, 2004" to become "Juni 25, 2004" (June 25, 2004 in norwegian ?
"?" from Odin