News for hackers. Stuff that matters.
Re:FormatJS – Internationalize your web apps on the client a... by joshdance on Tuesday October 14, 2014 @12:00PM (#8454012)
Looks great. One thing that wasn't clear, can you provide your own translations or is it all machine translation?
Re:FormatJS – Internationalize your web apps on the client a... by juandopazo on Tuesday October 14, 2014 @12:08PM (#8454072)
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.
Re:FormatJS – Internationalize your web apps on the client a... by nols on Tuesday October 14, 2014 @03:18PM (#8455174)
I don't think it translates any content, it just internationalizes the code so you can utilize separate translations (and numbering format, etc).
Re:FormatJS – Internationalize your web apps on the client a... by drewfish on Tuesday October 14, 2014 @12:08PM (#8454070)
You have to provide your own translations.