Translating application menu on Mac
I'm building a desktop application using Qt4.6.2 for both Mac and Windows. We would like to support dynamic translations i.e update the application when the user selects a language from a Preferences dialog.
On the Mac, I'm unable to translate the application menu when I do this. The application menu is translated only when I change the system language (using System Preferences -> Language and Text -> Language) and then restart the application.
I found a bug filed for this: "Qt Bug":http://bugreports.qt.nokia.com/browse/QTBUG-5875
But there's no indication of when this might get fixed.
I'm wondering if anyone has run into this problem and can point me to a solution.
Well, the obvious workaround would be to manually update the texts for each action in the menu. If that fails, you might try to setup the menu from scratch again. But as I'm not really familiar with mac development, those two might not even work in this case?
After reading the issue a bit better, I started wondering if Qt does at all any effort to get the correct locale in native widgets.
Since I couldn't find a way to access the application menu, manually translating or recreating the menu isn't possible.