TXPseudoTranslationPolicy

public final class TXPseudoTranslationPolicy : NSObject, TXMissingPolicy

Returns a string that looks like the source string but contains accented characters.

Example: PseudoTranslationPolicy().get("The quick brown fox") Returns: Ťȟê ʠüıċǩ ƀȓøẁñ ƒøẋ

  • Return a string that looks somewhat like the source string.

    Declaration

    Swift

    public func get(sourceString: String) -> String

    Parameters

    sourceString

    the source string

    Return Value

    a string that looks like the source string