time_ago_in_words and localize

datetime, internationalization, ruby, ruby-on-rails, time

Solution

If you are using Rails > 2.2, the helper is already locale-aware.

Just download the right localization file from the locale repository and store it into your `/config/locales` path. Then set your locale preferences.

Problem

Is it possible to use `time_ago_in_words` with `i18n.locale`? how? thanks

Original source