whenever I am trying to generate locale using

sudo locale-gen en_IN.ISO8859-1

the system is not doing anything.

3 Answers 3


locale-gen doesn't work that way. You only need the first language_COUNTRY:

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

Of course, you must have the locale installed:

$ locate en_IN

From the terminal type:

sudo locale-gen en_IN
sudo dpkg-reconfigure locales

Locales that can be generated are listed in the file /usr/share/i18n/SUPPORTED, and it does not include any en_IN locale with ISO-8859-1 encoding.

If you need an English locale with ISO-8859-1 encoding, you can try for instance:

sudo locale-gen * en_GB

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .