Translate @tryghost/helpers Reading Time Helper in GatsbyJS

Is there a built in way to translate the output of the @tryghost/helpers Reading Time Helper in GatsbyJS?

Yep, it has an options object with sensible fallbacks.

readingTime(post, {
  minute: 'This takes a minute',
  minutes: 'Takes % minutes'
})
1 Like