add locales and config