<commit_before># i18n

Lightweight simple translation module with dynamic json storage. 
Uses common __('...') syntax in app and templates.
Stores language files in json files compatible to http://webtranslateit.com/ json format.
Adds new strings on-the-fly when first used in your app.
No extra parsing needed.

## Install


## Usage

### load and configure with express

in your app.js

	// load modules
	var express = require('express'),
	    i18n = require("./lib/i18n");
	<commit_msg>linked to webtranslateit<commit_after># i18n

Lightweight simple translation module with dynamic json storage. 
Uses common __('...') syntax in app and templates.
Stores language files in json files compatible to [webtranslateit](http://webtranslateit.com/) json format.
Adds new strings on-the-fly when first used in your app.
No extra parsing needed.

## Install


## Usage

### load and configure with express

in your app.js

	// load modules
	var express = require('express'),
	    i18n = require("./lib/i18n");
	
{'fraction_non_alphanumeric': 0.09930486593843098, 'fraction_numerical': 0.011916583912611719, 'mean_word_length': 3.869565217391304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5334607', 'n_tokens_mistral': 302, 'n_tokens_neox': 282, 'n_words': 120}