foundation / panini

A super simple flat file generator.
Other
592 stars 104 forks source link

Multilingual support? #180

Open ourstudio-erikblomqvist opened 5 years ago

ourstudio-erikblomqvist commented 5 years ago

Hello,

After reading through issue #45, I thought that my request would have been implemented, but looking through the source code of Panini, I couldn't find any evidence of "i18n" being implemented.

Could somebody guide me on how one could add a YML/JSON file to add multilingual content to partials within a project?

Thanks

elcaptain commented 4 years ago

Hey @ourstudio-erikblomqvist

I started using gulp-html-i18n for my translations. It's super easy to integrate (with foundation for emails at least). Maybe it fits your needs too.

DanielRuf commented 4 years ago

Hi @elcaptain,

this looks interesting. Do you want to provide a PR to add this to the docs?

elcaptain commented 4 years ago

Hey @DanielRuf, Do you mean the readme.md or which docs are you referring to? What would be a good way to do that? Adding a section like "useful libraries"?

DanielRuf commented 4 years ago

Yes, probably. As this would be helpful for others too (to know how they can achieve this).