salt.states.locale

Management of languages/locales

The locale can be managed for the system:

en_US.UTF-8:
  locale.system
salt.states.locale.present(name)

Generate a locale if it is not present

New in version 2014.7.0.

name
The name of the locale to be present
salt.states.locale.system(name)

Set the locale for the system

name
The name of the locale to use