wx.LanguageInfo¶Encapsulates a wx.Language identifier together with OS-specific information related to that language.
Class Hierarchy¶
Inheritance diagram for class LanguageInfo:
Methods Summary¶Return the canonical locale name including the region, if known. |
|
Return the locale name corresponding to this language usable with |
Properties Summary¶See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Class API¶Encapsulates a Language identifier together with OS-specific information related to that language.
Return the canonical locale name including the region, if known.
The value is identical to CanonicalRef , if not empty, otherwise it is identical to CanonicalName .
str
Added in version 4.1/wxWidgets-3.1.6.
Return the locale name corresponding to this language usable with setlocale() on the current system.
If setting locale for this language is not supported, the returned string is empty.
str
A public C++ attribute of type string. Canonical name of the language, e.g. fr_FR .
A public C++ attribute of type string. Canonical reference including region.
A public C++ attribute of type string. Human-readable name of the language in English.
A public C++ attribute of type string. Human-readable name of the language in this language itself.
A public C++ attribute of type int. wx.Language id.
A public C++ attribute of type LayoutDirection . The layout direction used for this language.
See GetLocaleName
A public C++ attribute of type string. Tag for locale in BCP 47-like notation.