Improvements to localization (using some of the techniques that I implemented for raptor theming)