I18n Middleware Extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

twee-i18n-extension

Twee.io Logo

Gitter npm npm

I18n Middleware Extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js.

Using json translation files with standard translation solution: https://github.com/mashpie/i18n-node

To install it use this command:

npm install twee-i18n-extension --save

Editing package.json of your application:

"dependencies": {
    "twee-i18n-extension": "*"
}

Turning extension ON in application/configs/twee.js:

module.exports = {
    "extensions": {
        "i18n": {
            "module": "twee-i18n-extension"
        }
    }
};