How to put the man pages in Spanish

Very interesting the tip that I just read in Free Life, on the comment of a user in the Ubuntu-es forums, explaining how to put the man pages in spanish. In case you don't know, these pages They are essential when it comes to knowing in depth the use of a command or its parameters


For example, to find information about the nano command, just type:

man nano

All the information, very detailed indeed, will appear in English. To see it in Spanish, just type the following in a terminal:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install manpages-en manpages-en-extra
sudo dpkg-reconfigure local
Linuxeros: it would be very interesting if you leave the necessary commands in the comments to achieve the same effect in other distros. 🙂

Source: Free Life


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Let's use Linux said

    This other link can help you:

    http://es.tldp.org/htmls/proy-paginas-man.html

  2.   Let's use Linux said

    This can be a good starting point:

    http://packages.debian.org/squeeze/manpages-es

    There you can contact the maintainers of the Spanish manpages package.

    Cheers! Paul.

  3.   Andrew Forero said

    I'm in! Is there an official way to do it? I want to contribute my grain of sand.

  4.   Trash_666 said

    fedora:
    1. su
    2.yum update
    3. yum -y install man-pages-en man-pages-en-extra

  5.   Carlos Fg said

    Note that those poaginas of the manual in Spanish are outdated

    Those of English are usually out of date, but in Spanish it is another matter

    eye

  6.   Fernando TorresM. said

    if I put «man man» everything comes out in Spanish…. but, for example: «man vi» comes out as before (in English) = Yes I misunderstood this news or is there something missing ?? '

  7.   Carlos Fg said

    «Man man» already comes out in Spanish without installing the manual pages in Spanish

  8.   zxmoophv said

    Wooo quite interesting, I do not like to read much and much less in English .., hehe my solution

  9.   Let's use Linux said

    Thank you! Good contribution!

  10.   Fernando TorresM. said

    then it doesn't work ???

  11.   Carlos Fg said

    I wanted to say that the pages in English are updated, but those of Spanish are not, far from it

    regards

  12.   Marcelo said

    I just tried it and nothing happened ...

  13.   Marcelo said

    … Actually it works but not all the manuals are in Spanish… I don't know if I like it… but you have to try it

  14.   Marcelo said

    man ls, cd (for example) I get in Spanish, now if I put man cat ... English.

  15.   Let's use Linux said

    Too bad? We could put together a group to translate the man pages… even if it's the missing ones.

  16.   Let's use Linux said

    As Marcelo says. It does work, but not all manuals were translated, sadly. So you will see that if you put man and a command, it will appear in Spanish, man and another command and it will appear in English. 🙁
    I think there is no other way to do it better… if you find out about one, don't stop writing and sharing it.
    Cheers! Paul.

  17.   borjagc78 said

    Good. I have followed the instructions to put the man command in Spanish ... it still comes out in English. Any other alternative ?.
    Thank you

  18.   Demostenes said

    I have not seen that it can be installed, but there are more pages (and some more updated) in: http://man.redkaos.net/

  19.   Alberto Aru said

    And in arch?

  20.   chalatic said

    great it worked but with errors it presents me with symbols in some letters

  21.   gariza90 said

    Interesting, but I would like to know what is the installation path of these man pages in ubuntu.

  22.   gaiesy said

    Thank you

    *** Alternative to man command> file.txt for "mdoc warning: Empty input line" (where man pages) ***

    If you run in the terminal ...
    man un_command_any pe
    man ls… you can read a lot of information about this command by accessing the corresponding man page.

    To dump the data into a text file, just execute ...
    man any_command> text_file.txt pe
    man ls> man_ls.txt the extension ".txt" is not necessary but I think it helps to easily recognize a text file, distinguishing it from others (this last name is common among text files).

    But sometimes we come across message (s) like:
    mdoc warning: Empty input line # a number for me with the live USB of Linux Mint 15 (Olivia) MATE happens to me with:
    man tar> man_tar.txt
    Actually the text file is created, and apparently fine. But if we want an alternative that does not offer errors we can execute ...
    cp /usr/share/man/man1/tar.1.gz / home / mint / Desktop / gzip -d /home/mint/Desktop/tar.1.gz We will obtain the tar.1 file, which we can now open to read its content. It has the same as man_tar.txt but with codes on how to display the information. That is, to read it is better to man_tar.txt.

    With all this, we already know in which folder or directory the man page files are located in Linux Mint MATE:
    / usr / share / man /

    *****
    Source: http://www.lawebdelprogramador.com/foros/Linux/1451789-Alternativa_a_man_comando_fichero.txt_para_mdoc_warning_Empty_input_line_donde_man_pages.html

  23.   All said

    Thank you

    The bro page examples are fine.

    They can be installed by running in a terminal:
    sudo gem install bropages

    If you don't have Ruby before, you must run:
    sudo apt-get update
    sudo apt-get install ruby1.9.3

    An example:
    bro ls

    Further information:
    http://www.cyberhades.com/2014/01/29/complementa-las-man-pages-con-ejemplos/

    regards

  24.   baduy said

    In my live USB there are problems with the locale, which comes in English. sudo locale-gen es_ES.UTF-8 works but does not get what you were looking for, neither with LC_MESSAGES = es or LC_MESSAGES = es_ES or with LANG = es or with LANG = es_ES. sudo apt-get upgrade takes a long time and does not complete as the corresponding disk space or memory is full (perhaps the failure has to do with this).

    But luckily, there is an easy solution. Just run:
    man -L is command
    eg:
    man -L is ls

  25.   baduy said

    Well, if it runs too ...

    export LC_ALL = »en_ES.UTF-8 ″

    … No need to add -L is a man command. Thanks to http://debian.tallerdigitalvw.com/2011/07/10/cambiar-paginas-de-man-al-espanol-es_gt/

    1.    leloli said

      I think the key is in:
      LANGUAGE =…
      eg if it is ...
      LANGUAGE = »en_ES.UTF-8 ″
      … Although when executing locale we have:
      LANG = en_US.UTF-8
      LANGUAGE = en_ES.UTF-8
      LC_CTYPE = »en_US.UTF-8 ″
      LC_NUMERIC = »en_US.UTF-8 ″
      LC_TIME = »en_US.UTF-8 ″
      LC_COLLATE = »en_US.UTF-8 ″
      LC_MONETARY = »en_US.UTF-8 ″
      LC_MESSAGES = »en_US.UTF-8 ″
      LC_PAPER = »en_US.UTF-8 ″
      LC_NAME = »en_US.UTF-8 ″
      LC_ADDRESS = »en_US.UTF-8 ″
      LC_TELEPHONE = »en_US.UTF-8 ″
      LC_MEASUREMENT = »en_US.UTF-8 ″
      LC_IDENTIFICATION = »en_US.UTF-8 ″
      LC_ALL = en_US.UTF-8
      ... that is, all the parameters in American English except LANGUAGE (in Spanish from Spain), when executing man command the information will appear in Spanish (unless missing, which will be displayed in English -the default language for these help pages- ).
      If then we execute ...
      LANGUAGE = »en_US.UTF-8 ″
      … When executing man command the information will be displayed in English.

      More information in http://blog.carlosguerrero.com/problemas-con-locales-en-vps-de-linode/

  26.   Naiuey said

    For LANGUAGE to have the value we are interested in, we must execute:
    export LANGUAGE = »en_ES.UTF-8 ″

  27.   Jau vila said

    It has been a great help.
    Thank you very much 🙂

  28.   Lilian Loved said

    Hello, I did all the steps indicated to have the manuals in Spanish, but it did not work, they continue to appear in English. Should we do more?