diff --git a/step/infobrowser.cc b/step/infobrowser.cc --- a/step/infobrowser.cc +++ b/step/infobrowser.cc @@ -153,7 +153,10 @@ "", fromHistory, url ); return; } - QString fileName = QStringLiteral(":/objectinfo/%1.html").arg(className.toLower()); + QString fileName = QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("objinfo/l10n/%1/%2.html").arg(QLocale::system().uiLanguages().at(0), className)); + if(fileName.isEmpty()) { + fileName = QStandardPaths::locate(QStandardPaths::DataLocation, QStringLiteral("objinfo/%1.html").arg(className)); + } if(!fileName.isEmpty()) { QFile file(fileName); if(file.open(QIODevice::ReadOnly | QIODevice::Text)) {