diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/localisation.Languages-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/localisation.Languages-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,272 @@ + + + + + localisation.Languages + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Module localisation :: + Class Languages + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class Languages

source code

+Languages.xml file parser.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + filename) + source code + +
+ +
+   + + + + + + +
get_language_ids(self)
+ returns languages id list
+ source code + +
+ +
+   + + + + + + +
get_name(self, + lid)
+ returns languages id list
+ source code + +
+ +
+   + + + + + + +
get_attribute(self, + lid, + name, + default=None)
+ returns the value for a specific language attribute name.
+ source code + +
+ +
+   + + + + + + +
get_fallbacks(self, + lid)
+ Return the list of available fallbacks +None if not any.
+ source code + +
+ +
+   + + + + + + +
find_first_fallback(self, + lid, + exists)
+ Find recursively the first reasonable alternative +lid the language id +exists an existance function that takes a language id +as parameter and return a boolean
+ source code + +
+ +
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

get_attribute(self, + lid, + name, + default=None) +

+
source code  +
+ + returns the value for a specific language attribute name. It returns default if not found. +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +