Skip to content

stanurkov/ln3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ln3

MIT

Custom, simple, extendable internationalization module for JavaScript applications

Introduction

The idea behind this module is to provide a simple way to perform internationalization by using a call that contains both language identifier and default value. Just like this:

ln3.text("sample.text", "This is a sample text that should be translated")

This way, a developer don't need to dig into project files in order to find what the language constant actually means. From the other hand, it is also easy to collect all the strings for translation using a RegEx-based tool and make them available for translation either by developers or other parties.

Installation

From the root of your project.

npm install ln3

Usage

import ln3 from 'ln3';

console.log( ln3.text("sample.text", "This is a sample text that should be translated") );

About

JS ultra-simple Internationalization Helper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published