I'm doing a mockup to improve the openacs forums (adding some navigation links to go next/prev thread, giving a new look, adding ratings, and stuff like that). I have used the
util::age_pretty
function to show a more friendly time info for recently posted messages, for instance, something like: "posted about 2 hours ago" or "posted yesterday".
I'd like to have that information also in spanish, I mean, internationalized, but that function (in tcl/utilities-procs.tcl
of acs-tcl
package) although has some i18n strings, there are also a few one in english, for instance: "minutes", "ago"...
I've tried to catch these strings through the Internationalize Package action on translation server, but I couldn't find them.
Even if I had could do it, that strings should be "translated" using tcl variables in order to shift "the value of time" and the "ago" word (in spanish they go: hace... dos horas) , so maybe it's no so easy like changing the translation server.
How should I do that translation? I mean, maybe that change is suppose to be done by a more experimented programmer, or someone more close to openacs core. Anyway, I have posted that issue in order to fix it.