1. Have an external program to handle the conversion. For date:
def localize_time(timem format)
`date -d "#{time.to_s}" '+#{format}'`
end
Pros: Very simple
Cons: Do not work probably on Windows without cygnus or something like
that (by the way - who sets the server on Windows?)
2. To use solution from GettextLocalize and store it internally
(translations via gettext and/or other methods)
Pros: Portable
Cons: Require additional work for translators (unless we can somehow
autogenerate them). Not DRY.
Regards