2

I want my system speak italian as possible on hpux,using bash i see

help eval
eval: eval [arg ...]
    Esegue argomenti come un comando di shell.

    Combina gli ARGOMENTI dentro una singola stringa usando il risultato
    come input per la shell ed esegue i comandi risultanti.

    Stato di uscita:
    Restituisce lo stato di uscita del comando o successo se il comando è nullo.

Using posix shell

$ help ls
Non vi sono informazioni a proposito di ls

Is 100% italian as i want

On linux,using the same locale(it_IT.utf8) of hpux i see

help eval
eval: eval [arg ...]
    Execute arguments as a shell command.

    Combine ARGs into a single string, use the result as input to the shell,
    and execute the resulting commands.

    Exit Status:
    Returns exit status of command or success if command is null.

The translation of hpux is better than linux or there are some other things to do?

2
  • 1
    Could you specify the distribution please? – Rui F Ribeiro Dec 6 '15 at 15:08
  • Slackware linux 14.1 – elbarna Dec 6 '15 at 17:48
2

You will need the translation files installed. On an Ubuntu system, Italian support is added by running:

sudo apt-get update
sudo apt-get install language-pack-it-base language-pack-it manpages-it

I think on Red Hat and Fedora, it's something like

yum groupinstall italian-support

You will also need to use one of the supported locale names, which you can get by running locale -a, and set LANGUAGE accordingly (I'm not sure if LANGUAGE is required on HP-UX).

On my system:

$ LC_ALL=it_IT.UTF-8 LANG=it_IT.UTF-8 LANGUAGE=it_IT
$ help eval
eval: eval [arg ...]
Esegue argomenti come un comando di shell.
...
6
  • in debian "sudo apt-get install manpages-it"...it varies a little depending on the distribution, which was not specified. You can also set the locale with "dpkg-reconfigure locales" as "locale -a" is just for consulting it. – Rui F Ribeiro Dec 6 '15 at 15:28
  • @RuiFRibeiro Note that in this case, the help comes from bash's inbuilt help, so you'll also need whatever provides LC_MESSAGES/bash.mo. On Ubuntu, that's language-pack-it-base. – Mikel Dec 6 '15 at 15:28
  • Thanks Mike. Will have to test it out maybe tomorrow, I hate to have things in IT operating in my mother tongue. – Rui F Ribeiro Dec 6 '15 at 15:30
  • I've down voted cause the question is tagged with the slackware tag. So I think this answer useless. – slackmart Jan 13 '16 at 3:34
  • @slacksmart That was added after I answered. Let's see what the command would be on Slackware... – Mikel Jan 13 '16 at 5:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.