Package pyanaconda :: Module language :: Class Language
[hide private]
[frames] | no frames]

Class Language

source code

object --+
         |
        Language

Instance Methods [hide private]
 
_setInstLang(self, value) source code
 
_getInstLang(self) source code
 
_setSystemLang(self, value) source code
 
__init__(self, display_mode='g')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_canonLang(self, lang)
Convert the shortened form of a language name into the full version.
source code
 
available(self) source code
 
buildLocale(self) source code
 
dracutSetupArgs(self) source code
 
getCurrentLangSearchList(self) source code
 
getDefaultKeyboard(self) source code
 
getDefaultTimeZone(self) source code
 
textSupported(self, lang) source code
 
getLangName(self, lang) source code
 
getLangByName(self, name) source code
 
getNativeLangName(self, lang) source code
 
write(self) source code
 
writeKS(self, f) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  instLang = property(lambda s: s._getInstLang(), lambda s, v: s...
  systemLang = property(lambda s: s._systemLang, lambda s, v: s....
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, display_mode='g')
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_canonLang(self, lang)

source code 
Convert the shortened form of a language name into the full
version.  If it's not found, raise ValueError.

Example:  fr    -> fr_FR.UTF-8
          fr_FR -> fr_FR.UTF-8
          fr_CA -> ValueError


Class Variable Details [hide private]

instLang

Value:
property(lambda s: s._getInstLang(), lambda s, v: s._setInstLang(v))

systemLang

Value:
property(lambda s: s._systemLang, lambda s, v: s._setSystemLang(v))