add locales extraction