# locale\_gen: Managing locales on RedHat-based systems using deflocale

**URL:** <https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981>\
**Category:** Ansible Developer\
**Created:** [August 10, 2015, 2:24pm UTC](https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981 "2015-08-10T14:24:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will\_F](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@Will\_F](https://forum.ansible.com/u/Will_F)\
**Post date:** [August 10, 2015, 2:24pm UTC](https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981/1 "2015-08-10T14:24:08Z")

</div>

Ansible’s ‘locale\_gen’ module is useful on Debian-based systems but doesn’t work on modern RedHat-based systems. It relies on the locale-gen utility but that isn’t available on RedHat. However, a similar tool called deflocale is [1]. Would it be an idea to update locale\_gen to support deflocale/RedHat?

Regards,

Will
