assemble/grunt-assemble-i18n

Feature: YML-based translation files

ain opened this issue · 3 comments

ain commented

I saw that the current translation format has been chosen to be on JSON, but, I've just worked on our own standard in conjunction of Assemble based on YAML and we've used YAML for translations in other context (Symfony, Rails) before. Would be nice to have YAML, even instead of JSON. IMHO clearer to work with.

I don't see any reasons why it wouldn't work with YAML. I wrote most of the i18n stuff and personally don't like YAML but you can use it instead of JSON.

Since assemble is reading in the data, it can be in either json or yaml. The structure just needs to be the same to work with this plugin.

ain commented

All clear. readJSON() vs readYAML().