Ubuntu 14.04 locales reconfiguration.

Posted . Visible to the public.

If you getting messages like this: perl: warning: Setting locale failed. in your console, then you must configure your locales. First run:

locale

You will see something like this:

LANG=C
LANGUAGE=
LC_CTYPE=fi_FI.UTF-8
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE=fi_FI.UTF-8
LC_MONETARY="C"
LC_MESSAGES=fi_FI.UTF-8
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

Then generate the missing locale and reconfigure locales:

$ sudo locale-gen fi_FI.UTF-8
Generating locales...
  fi_FI.UTF-8... done
Generation complete.

$ sudo dpkg-reconfigure locales
Generating locales...
  en_US.UTF-8... done
  fi_FI.UTF-8... up-to-date
Generation complete.

Tags: Ubuntu, Locale

konjoot
Last edit
Keywords
ubuntu, 14.04, locale, Locale, locales
Posted by konjoot to wiki (2014-09-27 14:54)