Remove unused locales from configuration