Skip to content
pubscout

translit

2.0.2, released 2 years ago by an unverified publisher

Converts Cyrillic symbols to Translit and back.

WASM-ready
$ flutter pub add translit
Source repository

What it does

Provides simple methods to convert Cyrillic text into transliterated text and back to Cyrillic. Supports both symmetrical and non-symmetrical algorithms.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to convert Cyrillic text into Latin characters for URLs or IDs.
  • You need to reverse transliterate text back into Cyrillic.

Skip it when

  • You need flawless, lossless reverse transliteration back to the original text without ambiguities.
  • You are looking for full general-purpose internationalization and translation tooling.

Strengths

  • Simple and straightforward API for text conversion.
  • Supports both symmetrical and non-symmetrical transliteration algorithms.

Weaknesses

  • Reverse transliteration into Cyrillic cannot always completely convert the text back to the original format.
  • Not documented for extensive locale-aware formatting beyond simple character mapping.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
String text = Translit().toTranslit(source: 'Привет мир');

Alternatives

Packages that do the same job and could replace translit.

  • binary_codec

    Dart library for converting standard data types to a binary format and back