Function litelocale::phoneticize [] [src]

pub fn phoneticize(message: &str, locale: &Locale) -> String

Localize each word phonetically (e.g. hello -> ola) in provided message string using the provided Locale where phonetic strings have been provided.

message - Message string to localize (i.e. in English). locale - &Locale to use for localization.

Return value:

A localized phonetic message string or original message as-is provided.