Translate string returned by function timeAgoInWords in cakephp 4.4

Is there a way to translate to spanish the string returned by FrozenDate::timeAgoInWords() with TranslateBehavior?

If you look at the source for that function, you’ll see that it’s all like __dn('cake', '{0} year', '{0} years', $years, $years), so you need to put the translations for these things in the translation file for the cake domain.