inditrans library
Classes
- Option
- Transliteration options Flags to control transliteration
Enums
- Script
- Supported scripts
Extensions
- ScriptNameExtension on Script
- Gets the name of the script
- ToScriptExtension on String
- Gets the script from a string
Functions
-
init(
) → dynamic - Inditrans init. Init should be completed before any use is attempted.
-
isScriptSupported(
String script) → bool -
Checks if
script
is supported by the library. -
transliterate(
String text, Script from, Script to, [Option? options]) → String -
Transliterates
text
fromfrom
script toto
script. Option can be used for some specific config. Should be called only after init is completed.