stencilproject / Stencil

Stencil is a simple and powerful template language for Swift.
https://stencil.fuller.li
BSD 2-Clause "Simplified" License
2.33k stars 221 forks source link

i18n support would be nice to have #282

Closed petershaw closed 3 years ago

petershaw commented 4 years ago

Hi,

what be nice to have is a build in support for i18n-JSON-Files (https://www.i18next.com).

djbe commented 3 years ago

Stencil is just a template engine. It just receives a context (dictionary), and based on your template, it just generates a bunch of output. What the input & output actually are, is completely up to you.