Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tanmuhittin on
is there any way to translate "ago" in "time ago" date format in views.
I found and translated
%time ago
@time ago
strings but still not working
I changed the line 69 in views.install
$view->set($base . '.settings.past_format', '@interval ago');
"ago" here but nothing changed
Comments
Experiencing the same problem
Experiencing the same problem, did you find a solution to this?
This is the relevant issue,
This is the relevant issue, please leave a comment here: #2639382: "Authored on" string on multilanguage sites not translating; always renders English "ago" for "time ago" format