Bug report #11668

Qt: not all languages show (qt) translated button captions

Added by Richard Duivenvoorde over 9 years ago. Updated over 8 years ago.

Affected QGIS version:2.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:No Copied to github as #:19919


After an email from matteo on the community list about untranslated button captions:


it appeared to me that indeed in dutch we have the same 'problem', and starting QGIS always shows me:

src/core/qgsmessagelog.cpp: 45: (logMessage) [10ms] 2014-11-17T16:03:32 Qt[1] loading of qt translation failed [/usr/share/qt4/translations/qt_nl]

Did some googling, and it appears that qt itself is not fully translated (on Debian, see: /usr/share/qt4/translations), german and japan for example have a qm file there, but dutch and italian do not.



I had a look, and QGIS tries to load both our own translations, AND the native qt translations:


So the crux in this is that we (as languages which have 'untranslated buttons') either have to provide the right translations to Qt/Digia/Nokia:




Or we provide our 'own' caption for every button (or button bar) that we provide in a way like:


in that way those strings will show up in the translation files of QGIS itself.

The last option has as drawback that everywhere where you use some 'standard buttons or button bar' you have to provide the captions yourself.

The first option has as drawback that providing the translations to Qt does not mean that those will end up in your distro or qt release within a short period.

FYI: the template for Qt4: ftp://ftp.qt-project.org/qt/l10n/qt-stable/qt_untranslated.ts

and for Qt5: ftp://ftp.qt-project.org/qt/l10n/qt5-stable/qt_untranslated.ts

maybe best is to invest some time into translation of Qt5 already :-)

Related issues

Related to QGIS Application - Bug report #7002: some menus still untranslated in French? Closed 2013-01-16
Related to QGIS Application - Bug report #2855: Bundled Qt translations Closed


#1 Updated by Paolo Cavallini over 9 years ago

IMHO better working upstream. We have untranslated buttons since years, no need to hurry.

#2 Updated by Jürgen Fischer over 8 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Closed

Also available in: Atom PDF