[pacman-dev] pacman translations

Roman Kyrylych roman.kyrylych at gmail.com
Wed Feb 7 13:29:58 EST 2007


2007/2/7, Dan McGee <dpmcgee at gmail.com>:
> On 2/7/07, Sergej Pupykin <ps at lx-ltd.ru> wrote:
> >
> >  RK> UTF-8 is OK. I only asked if there is a possibility to have two man
> >  RK> and po versions for some languages - UTF-8 and non-UTF-8. I think for
> >  RK> man pages it is possible by putting them in corresponding /usr/man
> >  RK> dirs (for example there are ru, ru.KOI8-R and ru.UTF-8 in /usr/man),
> >  RK> the same can be done for .mo files, I think.
> >  RK> Of course all this is quite odd. I would like all other encodings to
> >  RK> disappear ASAP.
> >
> > For man it is simplier to edit man.conf and put "iconv -f utf8 -t
> > <locale-cp>" call into it. So I think man in utf8 is enough. Don't know
> > about po...
>
> I believe the .po files are pretty good at working with different
> character sets, as long as you do 2 things: save the file in the
> correct character set, and correctly fill out the PO header where it
> asks for the charset used.
>
> After that, gettext does the hard work of converting between locales
> and charsets.

OK, then I think there is no translation issues with UTF-8. :-)

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list