0.2.1 • Published 6 years ago

i18n-yummy v0.2.1

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

i18n-yummy

The i18n tag function

donate License: ISC

Related post. Warning the current function is different from the post one. It's now fault tolerant and it supports a better database structure.

You can use this module to bring in i18n in your project.

  • CommonJS version available as package.json main entry
  • ECMAScript 2015 version available as package.json module entry
  • Browser version available as both index.js and min.js

How to

You need to specify a default i18n.locale = 'en' language and a valid i18n.db = {...} database.

You can use i18n utilities to setup a database parsing your projects files.