twee-i18n-extension

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

Usage no npm install needed!

<script type="module">
  import tweeI18nExtension from 'https://cdn.skypack.dev/twee-i18n-extension';
</script>

README

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"
        }
    }
};