Jump to content
  • 0
Sign in to follow this  
greg00pl

Polish Locales it might be helpful...

Question

Hi again,

I've got some problems with setting Polish locales, but i worked it out...

If anybody have similar problem - thats what you should do:

1) In /etc/portage/make.conf you shoud have (it might be wrong, but works):

L10N="pl_PL en_US pl"

LINGUAS="pl_PL en_US pl"

USE="nls unicode userlocales pl"

2) Set proper locales in /etc/locale.gen

pl_PL.UTF-8 UTF-8

pl_PL ISO-8859-2

en_US.UTF-8 UTF-8

en_US ISO-8859-1

C.UTF-8 UTF-8

3) Run locale-gen as root, and use eselect locale list, and set to pl_PL.utf8...

4) Run locale and output should looks like:

gregfuntoo ~ # locale
LANG=pl_PL.utf8
LC_CTYPE="pl_PL.utf8"
LC_NUMERIC="pl_PL.utf8"
LC_TIME="pl_PL.utf8"
LC_COLLATE=POSIX
LC_MONETARY="pl_PL.utf8"
LC_MESSAGES="pl_PL.utf8"
LC_PAPER="pl_PL.utf8"
LC_NAME="pl_PL.utf8"
LC_ADDRESS="pl_PL.utf8"
LC_TELEPHONE="pl_PL.utf8"
LC_MEASUREMENT="pl_PL.utf8"
LC_IDENTIFICATION="pl_PL.utf8"
LC_ALL=

after that run env-update && source /etc/profile

5)Now we should check if services consolefont and keymaps are loading during boot

Run rc-config all to check, and if they arent run:

rc-update add consolefont boot

rc-update add keymaps boot

6) At /etc/rc.conf

UNICODE="yes"

7) At /etc/conf.d/keymaps

KEYMAP="pl2"
DUMPKEYS_CHARSET="ISO-8859-2"

8 ) Now we need font that has Polish letters

emerge -av media-fonts/terminus-font

9) At /etc/conf.d/consolefont

CONSOLEFONT="ter-v16b"
#CONSOLETRANSLATION=""

10) In GNOME Settings in language tab we need to set everything for Polish, and in users tab we set language for users Polish.

11) Reboot and have Fun - Too

(please somebody correct it, because even I see that i wrote in gibberish xD )

Best wishes !

 

 

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...