Timeago has a issue with translations. it's because the hook_libraries_info_alter just run when you clear cache, so it work just one language

I think we can use it as a library and add it on block #attached

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

guilopes created an issue. See original summary.

guilopes’s picture

Status: Needs work » Needs review
FileSize
4.39 KB

Fidelix credited Fidelix.

  • Fidelix committed f94ecab on 8.x-1.x authored by guilopes
    Issue #2772387 by guilopes, Fidelix: Issues with translation on timeago
    
Fidelix’s picture

Status: Needs review » Fixed

Made some small adjustments and committed.

Thanks @guilopes!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.