salt.modules.locale

Module for managing locales on POSIX-like systems.

salt.modules.locale.get_locale()

Get the current system locale

CLI Example:

salt '*' locale.get_locale
salt.modules.locale.list_avail()

Lists available (compiled) locales

CLI Example:

salt '*' locale.list_avail
salt.modules.locale.set_locale(locale)

Sets the current system locale

CLI Example:

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

Previous topic

salt.modules.linux_sysctl

Next topic

salt.modules.locate