3 projects tagged "Localization"
PEAR Validate is a set of useful methods to validate various kinds of data. It supports numbers (min/max, decimal, or not), email addresses (syntax, domain check, RFC 822), strings (alpha, upper and/or lowercase, numeric), dates (min, max), URIs (RFC 2396), and more. It also has many locale validation rules, specialized for each country or region (US, FR, UK, DE) or application domain (such as finance).
contraccions validates word contractions in the Catalan language. Word contractions in Catalan spelling are very complex and the function enclosed in this package allows a spellchecker to warn about wrong expressions and to suggest something to correct them. It returns a code to indicate the type of the error and the location of the error in the expression, and allows a spellchecker to perform incremental validation.