Adapts config for locale and increases performance