Home | Trees | Indices | Help |
|
---|
|
Module to guess the language ISO code based on the 'Language-Team entry in the header of a Gettext PO file.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
LANG_TEAM_REGEX =
Data for regular expression based extraction. |
|||
LANG_TEAM_CONTACT_SNIPPETS =
Language codes with snippets of contact information that can be used to uniquely identify the language |
|||
LANG_TEAM_LANGUAGE_SNIPPETS =
Language codes with snippets of language names, including English, native spelling and varients, that can be used to uniquely identify the language |
Imports: re, accepts, returns, IsOneOf, String
|
Use regular expressions to extract the language team
|
Guess the language based on a snippet of text in the language team string.
|
Gueses the language of a PO file based on the Language-Team entry
|
|
LANG_TEAM_REGEXData for regular expression based extraction. The fieds are: prefilter information, regex with single group that contains the language code, postfilter.
|
LANG_TEAM_CONTACT_SNIPPETSLanguage codes with snippets of contact information that can be used to uniquely identify the language
|
LANG_TEAM_LANGUAGE_SNIPPETSLanguage codes with snippets of language names, including English, native spelling and varients, that can be used to uniquely identify the language
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 19 17:45:43 2010 | http://epydoc.sourceforge.net |