Translations of common web phrases. Useful for content localization.
$ npm install local-phrases
var phrases = require('local-phrases');
var vietPhrases = phrases['vi'];
console.log(vietPhrases.submit); // đệ trình
Currently supports following phrases:
Phrases |
---|
edit |
firstName |
language |
lastName |
login |
logout |
name |
newPassword |
options |
password |
preview |
profile |
repeatPassword |
save |
settings |
signIn |
signUp |
submit |
username |
Currently supports following languages:
Languages | ISO 639-1 |
---|---|
arabic | ar |
chinese | zh |
dutch | nl |
english | en |
french | fr |
german | de |
hindi | hi |
italian | it |
japanese | ja |
korean | ko |
portuguese | pt |
russian | ru |
spanish | es |
vietnamese | vi |
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.
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!