1.0.0 • Published 9 years ago

local-phrases v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

local-phrases

Translations of common web phrases. Useful for content localization.

Install

$ npm install local-phrases

Usage

Example

var phrases = require('local-phrases');
var vietPhrases = phrases['vi'];
console.log(vietPhrases.submit); // đệ trình

Support

Phrases

Currently supports following phrases:

Phrases
edit
email
firstName
language
lastName
login
logout
name
newPassword
options
password
preview
profile
repeatPassword
save
settings
signIn
signUp
submit
username

Languages

Currently supports following languages:

LanguagesISO 639-1
arabicar
chinesezh
dutchnl
englishen
frenchfr
germande
hindihi
italianit
japaneseja
koreanko
portuguesept
russianru
spanishes
vietnamesevi

Contributing

Please submit a pull request if you see an incorrect translation or want to add a new language/phrase! Most of the current translations are from Microsoft Language Portal.

Plug

This module was created while working on Lang.Community, which is super prototype-y right now, but feel free to try it out/give me feedback!