Michał Kowol Tech Blog

Set locale on your linux

Overview

If you installed new, server ubuntu distribiution, you could have problem with localces on your computer.

Locale

check which locales are supported:

locale -a

and install

apt-get install language-pack-XX

where XX is language code - in example language-pack-pl or language-pack-ru

Alternative

You can generate locale using locale-gen

sudo locale-gen pl_PL
sudo locale-gen pl_PL.UTF-8

then, run this update comand

sudo update-locale 

References

How do I add locale to ubuntu server?