a flexible, easy-to-use Flutter package that provides tools for the conversion of Arabic names and phrases to their Romanized (English) counterparts.
Add arabic_roman_conv
to your pubspec.yaml
:
dependencies:
arabic_roman_conv: 0.1.0-dev.2
Install it:
flutter pub get
import 'package:arabic_roman_conv/arabic_roman_conv.dart';
final word = 'سيف';
final romanizedWord = ArabicRomanConv.romanized(word);
print(romanizedWord); // Saif
final sentence = 'سيف الدين';
final romanizedSentence = ArabicRomanConv.romanized(sentence);
print(romanizedSentence); // Saif Aldeen
I wanted to create a package that provides tools for the conversion of Arabic names and phrases to their Romanized (English) counterparts. I also wanted to make sure that the package is flexible and easy to use.
This package inspired by arabic-names-to-en.
- convert a word to exact romanization (e.g. "سيف" -> "Saif")
- convert a sentencte to exact romanization (e.g. "سيف الدين" -> "Saif Aldeen")
Contributions are welcome! Please feel free to submit a Pull Request.
Please file feature requests and bugs at the [issue tracker][tracker].
I wanted to keep the package name short and simple. I also wanted to avoid using the word "romanization" because it's not a very common word and it might be hard for some people to understand what the package does just by looking at its name.