translation
romunov - February 24, 2008 - 12:18
| Project: | Archiver |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
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
