GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.LanguageInfo
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.LanguageInfo — wxPython 4.3.2 Docs

phoenix_title wx.LanguageInfo¶

Encapsulates a wx.Language identifier together with OS-specific information related to that language.


class_hierarchy Class Hierarchy¶

Inheritance diagram for class LanguageInfo:

Inheritance diagram of LanguageInfo


method_summary Methods Summary¶

GetCanonicalWithRegion

Return the canonical locale name including the region, if known.

GetLocaleName

Return the locale name corresponding to this language usable with setlocale() on the current system.


property_summary Properties Summary¶

CanonicalWithRegion

See GetCanonicalWithRegion

LocaleName

See GetLocaleName

CanonicalName

A public C++ attribute of type string. Canonical name of the language, e.g. fr_FR .

CanonicalRef

A public C++ attribute of type string. Canonical reference including region.

Description

A public C++ attribute of type string. Human-readable name of the language in English.

DescriptionNative

A public C++ attribute of type string. Human-readable name of the language in this language itself.

Language

A public C++ attribute of type int. wx.Language id.

LayoutDirection

A public C++ attribute of type LayoutDirection . The layout direction used for this language.

LocaleTag

A public C++ attribute of type string. Tag for locale in BCP 47-like notation.


api Class API¶

class wx.LanguageInfo(object)¶

Encapsulates a Language identifier together with OS-specific information related to that language.


Methods¶

GetCanonicalWithRegion(self)¶

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 .

Return type:

str

Added in version 4.1/wxWidgets-3.1.6.



GetLocaleName(self)¶

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.

Return type:

str


Properties¶

CanonicalName¶

A public C++ attribute of type string. Canonical name of the language, e.g. fr_FR .



CanonicalRef¶

A public C++ attribute of type string. Canonical reference including region.



CanonicalWithRegion¶

See GetCanonicalWithRegion



Description¶

A public C++ attribute of type string. Human-readable name of the language in English.



DescriptionNative¶

A public C++ attribute of type string. Human-readable name of the language in this language itself.



Language¶

A public C++ attribute of type int. wx.Language id.



LayoutDirection¶

A public C++ attribute of type LayoutDirection . The layout direction used for this language.



LocaleName¶

See GetLocaleName



LocaleTag¶

A public C++ attribute of type string. Tag for locale in BCP 47-like notation.

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.