Date: Sun, 6 Jan 2002 01:24:54 +0200 (EET) From: Vladimir Kushnir <vkushnir@alfacom.net> To: Ott Vladisalv <legal@alfacom.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: StarOffice and Ukrainian Language Message-ID: <20020106005848.F20868-201000@kushnir1.kiev.ua> In-Reply-To: <004c01c1963a$00719d80$967c6cc1@vlad>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hi Vladislav!
Sorry, I was a bit too sketchy in last message.
First, there're actually several problems involved: locale, fonts and
keymap.
On Sun, 6 Jan 2002, Ott Vladisalv wrote:
> Hi Vladimir!
>
> Thank you very much.
> It is very a pity, I tried your variant but nothing it was possible.
> I have made so:
>
> in /etc/profile: LANG=ru_RU.CP1251; export LANG
> MM_CHARSET=CP1251; export
> MM_CHARSET
> LC_ CTYPE=ru_RU.CP1251; export
> LC_CTYPE
> in /etc/csh.login: setenv LANG ru_RU.CP1251
> setenv MM_CHARSET CP1251
> setenv LC_CTYPE ru_RU.CP1251
>
Unfortunately, there's no ru_RU.CP1261 locale under FreeBSD (don't know
why). Attached is a tarball for its source. Make it the usual way (as it
is done with every other locales - see
/usr/src/share/{colldef,mklocale,monetdef et al}) and install as
/usr/share/locale/ru_RU.CP1251 Then you can setenv LC_CTYPE etc. to it
(actually, I prefere to just run StarOffice only with this settings, as
env LC_CTYPE=ru_RU.CP1251 soffice).
> Also it is all.
> I can something not so has made?
> Please write in more detail, that it is necessary to make.
The second problem - fonts. You'll need Type1 fonts (of TrueType fonts,
then you can convert them to Type1 - there're utilities in our ports
collection). There seem to be some cp1251 Type1 fonts collections on the
'Net - sorry, I don't remember exact URLs now. You'll have to add them to
StarOffice, of course (with spadmin).
And the last one - keymap. I personally prefer the one I've made a while
ago - 3 way keymap en/ukr/rus (also attached), but there surely are other
ways to do it. If you'd like to use this one - well, you can simply install it
as /etc/X11/xkb/symbols/ru and be done with it :-) My XF86Config part
reeds
then:
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "ru"
Option "XkbVariant" "winkeys"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
(of cource, last line - language switch kombination - doesn't work under
KDE, but that doesn't matter, they've got their own :-)
>
> I remind:
> FreeBSD 4.4 Stable
> XFree86 - 4.1.0
> KDE 2.2
> StarOffice 6.0 Beta
> Install from ports /usr/ports/editors/staroffice60 (Were copied)
Does it still work? What I've described I use with StarOffice 5.2, also
from ports.
>
> With best regards Vladislav.
>
Hope this helps.
Vladimir
P.S. Sorry this time for too large message, folks, but I hope there are
others who can find this useful.
--
Vladimir Kushnir - vkushnir@Alfacom.net
[-- Attachment #2 --]
7<