Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.04 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.04 KB

About

Build Status Pub Package

Simple dart package for converting Cyrillic symbols to Translit and back

Reverse transliteration into Cyrillic can not always completely convert the text to the original. Please keep this in mind when using this module in your projects.

Examples

Convert text to translit

import 'package:translit/translit.dart';

String text = Translit().toTranslit(source: 'Привет мир');

Привет мир > Privet mir!

Convert text from transliterated

import 'package:translit/translit.dart';

String text = Translit().unTranslit(source: 'Privet mir');

Privet mir > Привет мир

Contribute

Please feel free to fork, improve, make pull requests or fill issues. I'll be glad to fix bugs you encountered or improve the extension.