[localization] improve message generation and cleanup
[localization] use embedded localization file

* Use an unique name and delete on exit
* Also add a bunch of message IDs