Skip to content

Instantly share code, notes, and snippets.

Avatar
🤘
Hey there! I am using GitHub

Anmol Gautam Tarptaeya

🤘
Hey there! I am using GitHub
View GitHub Profile
View ImageReconstructionML.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Tarptaeya
Tarptaeya / i18n.cpp
Last active Jun 28, 2018
Using Python gettext in c++
View i18n.cpp
#include "i18n.h"
#include <QDebug>
#include <QStandardPaths>
i18n::i18n()
: m_gettextModule(nullptr)
, m_translationFunction(nullptr)
, m_gettextFunction(nullptr)
{
Py_Initialize();