What is Internationalization and localization – In Computer software development Internationalization and localization means of adapting software to different languages. Depends on different type of end user languages.

Now how add Internationalization and localization support to Express JS Application. Now What is Express JS?
Express JS is project of the node foundation. Express is web application framework which is build using node JS. Express JS is use for web application and rest API.

How to start with Express JS Web application framework.

Before start with express JS, first step is installation. Open your computer terminal and create one folder.


and use npm init command to create node application, after init command following instruction & output will be generated on terminal.


Now install express js in myapp application and save it int the dependencies list

npm install express --save

For temporarily installation express js use following command

npm install express --no-save


Hello World example with express JS


Create entry file index.js using vi editor and copy following script.

    var express = require('express');
    var app = express();

    app.get('/', function (req, res) {
      res.send('Hello World!');
    app.listen(3000, function () {
      console.log('Example app listening on port 3000!');

Using node inde.js command run your express js application.


Output on web browser


Now Express application generator

Express application generator is tool which is use for quickly create an application skeleton.
The express-generator package install express command line-tool.

    npm install express-generator -g
    express -h

Usage: express options


-h, --help          output usage information
    --version       output the version number
-e, --ejs           add ejs engine support
    --hbs           add handlebars engine support
    --pug           add pug engine support
-H, --hogan         add hogan.js engine support
-v, --view <engine> add view <engine> support (ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
-c, --css <engine>  add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git           add .gitignore
-f, --force         force on non-empty directory

The following creates an express app named myapp. the view engine will be set to ejs

    express --view=ejs myapp