Node - Localization

> (World Wide) Web - (W3|WWW) > Javascript (Js|ECMAScript) > Node.js

Table of Contents

1 - About

Localization (ie Language Translation) in Node

Stores language files in json files compatible to webtranslateit json format

2 - Libary

const dict = {
    'de': {
        'Sign In': "Anmelden",
        'Sign Up': "Registrieren",
        'Sign Out': "Abmelden",
    },
    'fr': {
        'Sign In': "Se connecter",
        'Sign Up': "S'inscrire",
        'Sign Out': "Déconnexion",
    }
};
 
export default dict;
Advertising
web/javascript/node/localization.txt · Last modified: 2019/06/07 11:18 by gerardnico