tonsky / tongue

Do-it-yourself i18n library for Clojure/Script
Eclipse Public License 1.0
307 stars 19 forks source link

Make interpolations extensive via a new protocol #28

Closed cjohansen closed 2 years ago

cjohansen commented 2 years ago

As suggested in #11, this adds a protocol for interpolations that allows consumers to put other kinds of data in dictionaries than strings. It does not add any new features to Tongue - it does not support anything other than strings out of the box - but it gives users a bit more flexibility.

A few things to consider:

tonsky commented 2 years ago

Looks good! Thank you!

tonsky commented 2 years ago

Pushed 0.4.0

cjohansen commented 2 years ago

Wohoo, thanks 👍