.. toctree:: :maxdepth: 2
langtable is used to guess reasonable defaults for locale, keyboard, territory, …, if part of that information is already known. For example, guess the territory and the keyboard layout if the language is known or guess the language and keyboard layout if the territory is already known.
GPLv3+, see the included file “COPYING”.
Translations for languages and territory names are from CLDR which is governed by the Unicode Terms of Use, see the included file “unicode-license.txt”. The short name for this Unicode license is “MIT”. See:
To install langtable, run
make install DESTDIR=/usr
To create a distribution tarball run
make dist
To run the test cases in the source directory:
make test-local
To run the test cases using the installed files:
make install DESTDIR=/usr make test DESTDIR=/usr
import langtable
.. automodule:: langtable :members: list_locales, list_keyboards, list_consolefonts, list_inputmethods, list_timezones, language_name, territory_name, languageId, territoryId, supports_ascii