Help me understand how localization works in FreeBSD.
I'm trying to change it to Polish, but I can't.
Let's leave Xorg for now, just the console.
What do I want to achieve?
- ee editor in Polish, Polish messages and Polish characters in messages
- pl keyboard layout (programmers)
- the ability to write in Polish in the ee editor, Polish characters in the UTF-8 standard I don't need anything else to be happy.
Unfortunately, the manual did not help.
There is no reference where to find a list of languages and descriptions of how to do it.
# locale -a
it shows pl_PL.UTF-8 but what does it mean? FreeBSD supports something, but what (fonts on screen, fonts on printer, char coding UTF-8 when typing ) ?
People write all sorts of things on forums.
Some say that it is enough to make entries in /etc/profile
export LANG=pl_PL.UTF-8
export LANGUAGE=pl_PL.UTF-8
export LC_ALL=pl_PL.UTF-8
well not enough I tested on Vbox FBSD13.1_bootonly.ISO
Others say just type into /etc/login.conf
:charset=pl_PL.UTF-8:\
:lang=pl_PL.UTF-8:
# cap_mkdb /etc/login.conf
That's not enough either
The ISO8859-2 description is more accurate and I was able to display the ee editor in Polish
Formerly, the manual said that for ISO8859-2 you need to change w /etc/ttys to consl2 and now it says nothing about it.
Similarly with /etc/rc.conf fonts
font8x16=font_name
font8x14=font_name
font8x8=font_name
https://people.freebsd.org/~blackend/en_US.ISO8859-1/books/handbook/using-localization.html
I'm frustrated, most of all, that I can't figure out what I don't know and where to get the information.
For comparison, I checked how it is in GhostBSD.
There I can write Polish characters in the console in Xorg, but the ee editor is in English. The created TXT file in the editor in Xorg is displayed correctly in the console.
/etc/login.conf
:charset=UTF-8:\
:lang=en_PL.UTF-8:
After disabling lightxdm and restarting the computer there are no Polish characters in the console.
Displaying ????ó?? So something is missing, but what?
I'm trying to change it to Polish, but I can't.
Let's leave Xorg for now, just the console.
What do I want to achieve?
- ee editor in Polish, Polish messages and Polish characters in messages
- pl keyboard layout (programmers)
- the ability to write in Polish in the ee editor, Polish characters in the UTF-8 standard I don't need anything else to be happy.
Unfortunately, the manual did not help.
There is no reference where to find a list of languages and descriptions of how to do it.
# locale -a
it shows pl_PL.UTF-8 but what does it mean? FreeBSD supports something, but what (fonts on screen, fonts on printer, char coding UTF-8 when typing ) ?
People write all sorts of things on forums.
Some say that it is enough to make entries in /etc/profile
export LANG=pl_PL.UTF-8
export LANGUAGE=pl_PL.UTF-8
export LC_ALL=pl_PL.UTF-8
well not enough I tested on Vbox FBSD13.1_bootonly.ISO
Others say just type into /etc/login.conf
:charset=pl_PL.UTF-8:\
:lang=pl_PL.UTF-8:
# cap_mkdb /etc/login.conf
That's not enough either
The ISO8859-2 description is more accurate and I was able to display the ee editor in Polish
Formerly, the manual said that for ISO8859-2 you need to change w /etc/ttys to consl2 and now it says nothing about it.
Similarly with /etc/rc.conf fonts
font8x16=font_name
font8x14=font_name
font8x8=font_name
https://people.freebsd.org/~blackend/en_US.ISO8859-1/books/handbook/using-localization.html
I'm frustrated, most of all, that I can't figure out what I don't know and where to get the information.
For comparison, I checked how it is in GhostBSD.
There I can write Polish characters in the console in Xorg, but the ee editor is in English. The created TXT file in the editor in Xorg is displayed correctly in the console.
/etc/login.conf
:charset=UTF-8:\
:lang=en_PL.UTF-8:
After disabling lightxdm and restarting the computer there are no Polish characters in the console.
Displaying ????ó?? So something is missing, but what?