Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clout-i18n

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clout-i18n

Clout module to implement i18n

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

clout-i18n

Install

In the directory of your clout-js application, do the following;

  1. Install this package
npm install clout-i18n
  1. Add this module to package.json or clout.json
{
    ...
    "modules": ["clout-i18n"]
    ...
}

Configure

Create a new file i18n.default.js or i18n.<YOUR_ENV>.js in /conf directory with the following JavaScript.

module.exports = {
    i18n: {
        locales:['en'],
        directory: '/locales'
    }
};

Usage

This module utilizes i18n-node to provide the power of internationalization. Please read the documentation on how to leverage the library.

The library is injected into the scope of APIs and Controllers.

Keywords

FAQs

Package last updated on 24 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc