Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSergio Romo Medina
4,522 Pointstime_ago_in_words in other languages
How I can display data from time_ago_in_words method in different languages???
For example change "about 15 hours" or "less than 5 seconds" by "Hace 15 horas" and "Menos de 5 segundos"
1 Answer
Björn Steneram
5,523 PointsI use this gem in my application - https://github.com/jgraichen/rails-timeago
It has support for a number of languages.