[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: arabic man pages ,is it possible?



Salam Khaled,

Am 2005-06-03 03:40:01, schrieb khaled ghetas:
>    This my first message to the doc mailing list

Welcome.

>    I'm a new member and want to participate in localizing GNU/Linux and
>    helping it's spread among Arabs

:-)

>    I think translating man pages is a good thing and it will provide good
>    help fore Arabic users
>    But , is it possible
>    If possible how can we use it?I mean we use the command=20
>    man lilo (for example)
>    ,in case of Arabic ,my be=20
>    man lilo.ar (or ar.lilo)?

No, the manpage System does not work like this.
Manpages are in

    /usr/share/man/man1
                   man2
                   ...
                   man8

and the localized in

    /usr/share/man/ar/man1
                      man2
                      ...
                      man8

If you have setup for example your "export LANGUAGE=ar_MA.UTF-8"
correctly, you will get automaticly arabized manpages and if they
are not disponible, you will get the default english.

IF your locale is another then "ar_??" then you can run man with

    LC_LANGUAGE=ar_MA.UTF-8 man <manpage>

but you can make a little wraper script like

  __( '/home/michelle.konzack/bin/arman' )________
 /
| #!/bin/bash
| 
| LC_LANGUAGE=ar_MA.UTF-8 man $@
 \________________________________________________

>    Khaled Hosny

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature