fixed i18n support for the application menu.