HOWTO en_HR (for Gentoo GNU/Linux)

Note: This guide assumes you want to use UTF-8 encoding. For more information see Using UTF-8 with Gentoo. If you want to use diferent character encoing please consult Gentoo Linux Localization Guide. With information found there you shouldn't have any problem modifying these instructions.

If you are using en_HR@hrnum, then replace en_HR with en_HR@hrnum where needed.

1. Download en_HR (or en_HR@hrnum), and copy it in /usr/share/i18n/locales 

2. Execute:

# chmod 644 /usr/share/i18n/locales/en_HR

3. Add the following line in /etc/locale.gen

en_HR.UTF-8 UTF-8

or just execute:

# echo "en_HR.UTF-8 UTF-8" >>/etc/locale.gen

4. Execute:

# locale-gen

5. Update /etc/env.d/02locale to point at the new "en_HR.UTF8" locale:

LANG=en_HR.UTF-8
LC_ALL=en_HR.UTF-8

6. Execute:

# env-update && source /etc/profile

7. Logout and if using display manager restart X (crtl + backspace)


After you log in your shoud have shining new locale :-)