Forum OpenACS Q&A: Re: Need help for german translation of lars-blogger
If you end up internationalizing the date-handling in lars-blogger, which would be a nice first step, please submit patches.
all works fine, except the translation of the months.date_pretty output.
I don´t know what goes wrong, but if I change the code as described in the documentation I get an error message.
what I have done:
add to blog-months.tcl
set months(date_pretty) [lc_time_fmt $months(date_ansi)]
change in blog-months-postgresql.xql
to_char(date_trunc('month', entry_date), 'fmMonthfm YYYY') as date_pretty,
to_char(date_trunc('month', entry_date), 'YYYY-MM-DD HH24:MI:SS') as date_ansi,
I get this error message
"Error in include template "/var/lib/aolserver/com4biz/packages/lars-blogger/www/blog-months": can't read "months(date_ansi)": no such variable"