Hacker News new | ask | show | jobs
by joshdance 4263 days ago
Looks great. One thing that wasn't clear, can you provide your own translations or is it all machine translation?
3 comments

Hi! There are helpers for dealing with dynamic content like numbers and dates, but also there's message formatting for when you have your own translations like "I have {numCats, number} cats.". Here's the explanation for the Handlebars integration: http://formatjs.io/guide/#messageformat-syntax.
I don't think it translates any content, it just internationalizes the code so you can utilize separate translations (and numbering format, etc).
You have to provide your own translations.