Basework for editing locales