I had the same problem and I solved it by creating a language file and using it.
For example: create a file named [root directory of your site]/administrator/language/en-GB/[your component or module name].sys.ini and write the following string: GREATINGS_MENU="Greatings"
.
Then, in your XML file, replace <menu>Greatings</menu>
by <menu>GREATINGS_MENU</menu>
.