Bug report #15330
Two vector menus in German locale
|Assignee:||QGIS Translation Team|
|Category:||Translations and international|
|Affected QGIS version:||2.16.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23262|
Using my German locale, I now have two vector menus. The first one only with entries from plugins, and the second one right to the Help menu, with the ex-ftools, now processing functions.
Tested on Windows standalone: Overriding the locale with US English, the second menu remains in German. I have installed older standalone versions and OSGEO4W, if that might interfere.
Tested on Ubuntu: Overriding the locale removes the second vector menu, adding all entries to the first.
Tested on Linux Mint: Same as Ubuntu. The first Vector menu has shortcut V, while the second and US locale has shortcut o.
Removing the .qgis2 folder did not help.
#2 Updated by Klas Karlsson about 3 years ago
... and for example "Nederlands" that spell it "Vector" has only one vector menu.
Turning off the "Processing" plug-in and restarting QGIS will remove the "non-localized" vector menu.
Activating the Processing Plug-In will also create the "Processing" menu, which correctly localized...
This leads me to suspect it is the Processing Plug-in that needs to be updated somehow. It doesn't help changing "core/processing/menus.py" (which looks correct anyway) and that ends my "script-fu" knowledge on the subject.
#3 Updated by Klas Karlsson about 3 years ago
- Status changed from Open to Closed
Found a "solution" in #14535
Just open the Python console and type in what is described.
The source of the problem is a fTools update and it is known so I will close this thread. Feel free to re-open it if the solution does not work.
From the linked issue above: (don't forget to indent your for loops...)
from processing.core.alglist import algList from processing.gui.menus import defaultMenuEntries from processing.core.ProcessingConfig import ProcessingConfig for provider in algList.providers: for alg in provider.algs: default = defaultMenuEntries.get(alg.commandLineName(), "") ProcessingConfig.setSettingValue("MENU_" + alg.commandLineName(), default)
and restart QGIS