Add simple localization support

Only for common buttons and the expander text. Also only for the
emulated dialog. Native dialog is handled by Windows.
Fix incorrect buttons and dialog size