Making subscribe form error message translatable

#1

Hi there,

I’m doing like below to make this section translatable https://github.com/TryGhost/Ghost/blob/master/core/server/helpers/tpl/subscribe_form.hbs/#L13-L15

  1. Replaced {{error.message}} with {{t error.message}}.
  2. Added "Email cannot be blank.": "Email cannot be blank." in en.json file.

And it’s working fine. My questions are,

  1. Is what I’m doing correct?
  2. If so, what are the other error messages to be made translatable?

Thanks.

closed #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.