Type ILocaleIdentity
Interface
--+
|
ILocaleIdentity
Identity information class for ILocale objects.
Three pieces of information are required to identify a locale:
o language -- Language in which all of the locale text information are
returned.
o script -- Script in which all of the locale text information are
returned.
o territory -- Territory for which the locale's information are
appropriate. None means all territories in which language is spoken.
o variant -- Sometimes there are regional or historical differences even
in a certain country. For these cases we use the variant field. A good
example is the time before the Euro in Germany for example. Therefore
a valid variant would be 'PREEURO'.
Note that all of these attributes are read-only once they are set (usually
done in the constructor)!
This object is also used to uniquely identify a locale.
Method Summary |
Inherited from InterfaceClass |
|
__repr__ (self)
|
Class Variable Summary |
unicode |
language = u'Language Type\n\nThe language for which a l...
|
unicode |
script = u'Script Type\n\nThe script for which the langu...
|
unicode |
territory = u'Territory Type\n\nThe territory for which ...
|
unicode |
variant = u'Variant Type\n\nThe variant for which a loca...
|
unicode |
version = u'Locale Version\n\nThe value of this field is...
|
language
-
- Type:
-
unicode
- Value:
u'Language Type\n\nThe language for which a locale is applicable.'
|
|
script
-
- Type:
-
unicode
- Value:
u'Script Type\n\nThe script for which the language/locale is\n \
applicable.'
|
|
territory
-
- Type:
-
unicode
- Value:
u'Territory Type\n\nThe territory for which a locale is applicable.'
|
|
variant
-
- Type:
-
unicode
- Value:
u'Variant Type\n\nThe variant for which a locale is applicable.'
|
|
version
-
- Type:
-
unicode
- Value:
u'Locale Version\n\nThe value of this field is an ILocaleVersion objec\
t.'
|
|