# i18n-yummy **Repository Path**: mirrors_WebReflection/i18n-yummy ## Basic Information - **Project Name**: i18n-yummy - **Description**: The i18n tag function - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # i18n-yummy The i18n tag function [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/WebReflection/donate) [![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC) [Related post](https://codeburst.io/easy-i18n-in-10-lines-of-javascript-poc-eb9e5444d71e). **Warning** the current function is different from the post one. It's now [fault tolerant and it supports a better database](https://github.com/WebReflection/i18n-utils/issues/1) 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](https://unpkg.com/i18n-yummy@latest/index.js) and [min.js](https://unpkg.com/i18n-yummy@latest/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](https://github.com/WebReflection/i18n-utils) to setup a database parsing your projects files.