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 QPlainTex开发者_如何学运维tEdit. 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.
I suggest using tr. tr
精彩评论