How to translate application menu on Mac OS
In Qt desktop application the application menu is not translated and only "Services" submenu items are translated after changing Mac OS language. I followed the steps described "here":http://qt-project.org/doc/qt-5/macosx-issues.html to create locversion.plist but could not achieve the result.
Is it possible to translate the whole application menu like submenu items or is there a known issue related to menu translation on Mac OS?
Is it necessary to add translated strings in .qm file within corresponding context (MAC_APPLICATION_MENU) or it is possible to translate the menu automatically?
Thanks in advance.
Did you check that "thread":http://qt-project.org/forums/viewthread/21134 ?
Yes, I tried this solution and it works, but I'm looking for a better solution to get the translation automatically, like translations of submenus of application menu which gets translated right after changing Mac OS language.
Are you reacting to the QEvent::LanguageChange event ?
QEvent::LanguageChange event occurs when the application translation is changed.
The event QEvent::LocaleChange should occur when the system locale is changed but it does not work on Mac OS.