Active
Project:
Archiver
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2008 at 12:18 UTC
Updated:
24 Feb 2008 at 12:18 UTC
Hi,
I run a bilingual page and would like to translate the Archive module components (Year, Months...). I am not versed in php, but would assigning a t() function to the code...
function archiver_generate_html($nodes) {
// Define month names
$calendar_months = array(
1 => "January",
2 => "February",
3 => "March",
4 => "April",
5 => "May",
6 => "June",
7 => "July",
8 => "August",
9 => "September",
10 => "October",
11 => "November",
12 => "December",
);... give localizer the power to localize this? If so, how would assigning a t() function be done?
Cheers,
Roman