# salt.modules.localemod

Module for managing locales on POSIX-like systems.

`salt.modules.localemod.` `get_locale`()

  Get the current system locale

  CLI Example:

      salt '*' locale.get_locale

`salt.modules.localemod.` `list_avail`()

  Lists available (compiled) locales

  CLI Example:

      salt '*' locale.list_avail

`salt.modules.localemod.` `set_locale`(locale)

  Sets the current system locale

  CLI Example:

      salt '*' locale.set_locale 'en_US.UTF-8'

Current Salt release: 0.17.1

#### Previous topic

salt.modules.linux_sysctl

#### Next topic

salt.modules.locate

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd