View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#40
Originally Posted by reinob View Post
(as root)
# apt-get install locales

then create /etc/locale.gen, the contents of the file should look something like:
en_US.UTF-8 UTF-8

then run:
# locale-gen

you /usr/lib/locale/locale-archive should be much smaller than before.

if that's OK, you can stop there. If you want more, you can remove lots of things from /usr/share/locale, *BUT BE CAREFUL* some languages "depend" on others, so leave it for now until this is well documented.

(e.g.
en_US requires iso14651_t1 and en_GB)
de_DE requires i18n, iso14651_t1

also translit_cjk_compat for some reason)
Alternatively you could just copy /usr/lib/locale to /opt and symlink it back.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 6 Users Say Thank You to vi_ For This Useful Post: