translingual

1.1.7 • Public • Published

Translingual - Multilingual transliteration - Phonetic translation using transcription.

npm version node version npm downloads Gitter Total alerts Language grade: JavaScript Scrutinizer Code Quality Known Vulnerabilities License Repo size Build status Beerpay Liberapay GitHub stars

Translingual Logo

Install

$ npm i -g translingual

Usage

Via bash:

$ trans 'Hello world!' en ru
# "Эллoу Вoурлд!" 

As code:

const trans = require('translingual');
 
var result = trans.ling('Hello world!', 'en', 'ru');
console.log(result); // This will print: "Эллoу Вoурлд!"

Or using vanilla JS in your browser:

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/translingual@1.1.7/dist/translingual.min.js"></script>
<script type="text/javascript">
    var result = Trans.ling('Hello world!', 'en', 'ru');
    console.log(result); // This will print: "Эллoу Вoурлд!"
</script> 

See live Demo

Description

This small and cool module can phonatically visualize a sentense from one language to another. For this I use transcription. I translate a sentense from any of the supported original languages to transcription, and from that I form back a sentense on any currently supported language.

NOTE: Semitic languages like Hebrew and Arabic are really problematic to translate into transcription.

Spported Languages

Language Source
"en" - English English orthography
"ru" - Russian Russian alphabet
"es" - Spanish Spanish orthography
"de" - German German orthography
"el" - Greek Greek orthography
"sr" - Serbian Serbian Cyrillic alphabet
"fr" - French French orthography
"uk" - Ukrainian Ukrainian alphabet
"he" - Hebrew Hebrew spelling
(only "to" - can't read, can only write)
"trans" - Transcription IPA

Roadmap

  • Add more languages.

License

APACHE-2.0 (see the LICENSE files in the repository).

Donate

Have fun and if you like it, leave a tip for a cup of beer Beerpay or directly donate to our cause Donate using Liberapay

Package Sidebar

Install

npm i translingual

Weekly Downloads

12

Version

1.1.7

License

Apache-2.0

Unpacked Size

60.8 kB

Total Files

7

Last publish

Collaborators

  • evgy