![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
Go to the source code of this file.
Namespaces | |
namespace | i18n |
Variables | |
i18n.locale = QtCore.QLocale.system() | |
list | i18n.languages = [ locale.name(), locale.bcp47Name() ] |
i18n.i = locale.name().find('_') | |
i18n.localedir = QtCore.QStandardPaths.locate(QtCore.QStandardPaths.GenericDataLocation, 'locale', QtCore.QStandardPaths.LocateDirectory) | |
i18n.t = gettext.translation('falkon_' + __package__, localedir, languages, fallback=True) | |
i18n.i18n = t.gettext | |
i18n.i18np = t.ngettext | |