Reputation: 21
What is the best way to localize default context menus in Qt?
An example is the context menu that pops up on right click from the QPlainTextEdit.
This needs to work on PC and Mac.
I know it's possible to iterate over each menu item in a custom menu, and apply translations to each item, but I'm hoping for something more automatic, ideally pulling in a os-native translated context menu.
Upvotes: 2
Views: 734