dimanche 31 janvier 2016

Process for sending ember-intl yaml files to translaor

We're just about to start using ember-intl, a wrapper for formatjs, to handle our multi-language web app. The English language file is being constructed in yaml format, though we could equally well use json. It's an implementation of the ICU Message format An example of the yaml is:

product:
  info: '{product} will cost {price, number, EUR} if ordered by {deadline, date, time}'
  title: 'Hello world!'
  html:
    info: '<strong>{product}</strong> will cost <em>{price, number, EUR}</em> if ordered by {deadline, date, time}'
blog: 
  title: 'My new blog'

Is there a canonical way of transforming this data to be handed to professional translators?

I know they use POT/PO in the GetText process, but no idea if I should be just shipping these yaml files, or doing some preprocessing first.




Aucun commentaire:

Enregistrer un commentaire