Skip to main content

arabize 1.0.0 copy "arabize: ^1.0.0" to clipboard
arabize: ^1.0.0 copied to clipboard

Text utilities for Arabic apps, such as search normalization and digit conversion.

arabize #

Small text utilities for Arabic apps.

import 'package:arabize/arabize.dart';

normalizeArabic('إِسْلَامِيَّة'); // اسلاميه
toArabicDigits('2026');          // ٢٠٢٦
toWesternDigits('٢٠٢٦');         // 2026

normalizeArabic removes tashkeel and tatweel and unifies alef, ya and ta marbuta, so search matches what users mean. Use it on both the query and the searched text. Each mapping can be turned off with a named argument.

toArabicDigits takes easternVariant: true for the Persian and Urdu digit forms. toWesternDigits converts both forms back.

Part of arabize, which also has lint rules, a CLI and test helpers for Arabic and RTL Flutter apps.

0
likes
160
points
677
downloads

Documentation

API reference

Publisher

verified publisheromarelnasherty.com

Weekly Downloads

Text utilities for Arabic apps, such as search normalization and digit conversion.

Repository (GitHub)
View/report issues

Topics

#arabic #rtl #localization #flutter

License

MIT (license)

More

Packages that depend on arabize