greybax / Cyrillic To Translit Js
Licence: mit
Ultra-lightweight JavaScript library for converting Cyrillic symbols to Translit and vice versa
Stars: ✭ 91
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Cyrillic To Translit Js
Deep Translator
A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.
Stars: ✭ 233 (+156.04%)
Mutual labels: translation, translate, translations
Translators
🌏🌍🌎Translators🌎🌍🌏 is a library which aims to bring free, multiple, enjoyable translation to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
Stars: ✭ 295 (+224.18%)
Mutual labels: translation, translate
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (+181.32%)
Mutual labels: translation, translations
Termit
Translations with speech synthesis in your terminal as a ruby gem
Stars: ✭ 505 (+454.95%)
Mutual labels: translation, translations
Developing Ios 11 Apps With Swift
Stanford 公开课,Developing iOS 11 Apps with Swift 字幕翻译
Stars: ✭ 1,237 (+1259.34%)
Mutual labels: translation, translations
linguist
Linguist is a powerful browser extension for translate pages and text, which are ready to replace your favorite translate service
Stars: ✭ 21 (-76.92%)
Mutual labels: translation, translate
Developing Ios 10 Apps With Swift
Stanford 公开课,Developing iOS 10 Apps with Swift 字幕翻译
Stars: ✭ 391 (+329.67%)
Mutual labels: translation, translations
tarjama
This package allows you to translate your models fields. `2.0` version will be continued here: https://github.com/fevrok/laravel-translatable
Stars: ✭ 2 (-97.8%)
Mutual labels: translations, translation
Fluent
Fluent — planning, spec and documentation
Stars: ✭ 818 (+798.9%)
Mutual labels: translation, translate
Libretranslate
Free and Open Source Machine Translation API. 100% self-hosted, no limits, no ties to proprietary services. Built on top of Argos Translate.
Stars: ✭ 834 (+816.48%)
Mutual labels: translation, translate
Laravel Translatable
It's a Laravel database translations manager
Stars: ✭ 47 (-48.35%)
Mutual labels: translation, translations
LMPHP
Multi-language management and support on the site.
Stars: ✭ 19 (-79.12%)
Mutual labels: translation, translate
pomodoro-tracker-locales
Language files
Stars: ✭ 23 (-74.73%)
Mutual labels: translations, translation
Polyglot
🌏 The missing Safari extension that translates selected text into your native language.
Stars: ✭ 387 (+325.27%)
Mutual labels: translation, translate
Google Translate Php
🌐 Free Google Translate API PHP Package. Translates totally free of charge.
Stars: ✭ 1,131 (+1142.86%)
Mutual labels: translation, translate
deepl-api-connector
Connector library for deepl.com rest translation api
Stars: ✭ 12 (-86.81%)
Mutual labels: translations, translation
SimpleTranslationSystem
A simple C# translation system
Stars: ✭ 14 (-84.62%)
Mutual labels: translation, translate
Translations
🐼 Chinese translations for classic IT resources
Stars: ✭ 6,074 (+6574.73%)
Mutual labels: translation, translations
cyrillic-to-translit-js
Ultra-lightweight JavaScript library for converting Cyrillic symbols to Translit and vice versa
Install
npm install --save cyrillic-to-translit-js
Simple to use
import CyrillicToTranslit from 'cyrillic-to-translit-js';
const cyrillicToTranslit = new CyrillicToTranslit();
cyrillicToTranslit.transform('Какая-то строка', '_').toLowerCase();
Constructor
-
{ preset: ru }
or empty - transliteration preset for Russian language. -
{ preset: uk }
- transliteration preset for Ukranian language (see PR #27). -
{ preset: mn }
- transliteration preset for Mongolian language (see PR #142).
transform()
Convert Cyrillic symbols to Translit
cyrillicToTranslit().transform(input, spaceReplacement);
-
input
- string which should be transformed -
spaceReplacement
- symbol for space replacement
reverse()
Convert Translit symbols to Cyrillic
cyrillicToTranslit().reverse(input, spaceReplacement);
-
input
- string which should be transformed -
spaceReplacement
- symbol for space replacement
Examples
- transform()
cyrillicToTranslit().transform('Привет Мир!');
>Privet Mir!
cyrillicToTranslit().transform('привет мир!', "_")
>privet_mir!
cyrillicToTranslit({ preset: "uk" }).transform('привіт світе!', "_")
>pryvit_svite!
- reverse()
cyrillicToTranslit().reverse("ulitsa Soyuza Pechatnikov")
>улица Союза Печатников
cyrillicToTranslit({ preset: "uk" }).reverse("Rozghon Uliana i Harashchenko Khrystyna")
>Розгон Уляна і Гаращенко Христина
Typescript
Typescript supports starting form v2.0.0. See definitions here
Credits
- kunashir
- Vasyl Gendzeliuk
- Nikita Svesnikov
- Igor Deryabin
- makepost
- Aleksey Kislov
- Igor Kamyshev
- Sasha Kirillov
- Booglejr
- Пүрэвжаргал
Why I've done this plugin?
License
MIT © Aleksandr Filatov alfilatov.com
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].