Rewrote the localization system to use YAML