First pass at rewriting locales file