Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (21 sloc) 0.611 kb

Description

Sets default system locale

You can see which languages are available by $ locale -a

On debian based systems you can set the locale by running update-locale LANG={lang} e.g. update-locale LANG=en_AU.utf8

It updates the file /etc/default/locale

On rhel based systems you can set default locale updating /etc/sysconfig/i18n There doesn't seem to be a command line tool to update this file?!?

Requirements

Tested on Ubuntu, CentOS

Attributes

  • node[:locale][:lang] -- defaults to "en_US.utf8"

Usage

Include the default recipe in your run list.

Jump to Line
Something went wrong with that request. Please try again.