LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   language settings (https://www.linuxquestions.org/questions/linux-desktop-74/language-settings-4175432042/)

jheengut 10-13-2012 12:43 PM

language settings
 
hi

Is there a method of making the shell understanding others languages just like a desktop can or is it english only ???

Didier Spaier 10-14-2012 07:14 AM

Hi,

It depends what you mean by "understanding other languages", so what do you want to do exactly? Please be more specific. And which shell are you using?

jheengut 10-31-2012 05:14 AM

IF it can understand french , spanish , greek, hindi, chinese , japanese,......

Didier Spaier 10-31-2012 08:21 AM

Sorry, I still do not understand your question.

If you speak about the console, it is utf-8 able by default in all recent kernels so it should accept any utf-8 charset. But ou course the outcome depends on the keyboard map and the font you use.

Other than that, the abilities of a shell depends on which one you use: is it sh, csh, bash, dash, ksh?

By itself the shell 'understand' a command as long as that command complies to its syntax.

Now if you speak about the ability to accept input and do output using specific locales, it depend on the locale settings at the system and user levels, as well as the kind of terminal you use and the interpreter you invoke, so it is really difficult to give general answer to such a question.

You will get more on-spot answers if you word your question in a more specific way. For instance, which distribution do you use, are you speaking about using the console or a virtual terminal under X (and which one in the latter case: xterm, rxvt, urxvt, konsole, terminal, ...) and which interpreter do you use?

jheengut 11-08-2012 10:45 AM

localization
 
I asking about Internationalization and localization stuff and NLS (National Language Support or Native Language Support).


for example I'm using a french customized OS,
instead of using the head command I would like to write tete
or vrai in place of true
and qui for who

and more interestingly
बुद्धि instead of using the head command in hindi


that would be a console that's more integrated with its environment.


I started to customized bash to create aliases to replace some words but it seems a daunting job to rename all of my 4659 commands.

brianL 11-08-2012 02:23 PM

Don't know whether this will help:

http://docs.slackware.com/slackware:localization

DavidMcCann 11-09-2012 11:57 AM

Unfortunately, programming languages don't come in different natural languages. If you look up Bash (or C) in Wikipedia in various languages, you'll see that everyone has to use "do ... done" or "mkdir". Computer programming has always been done in English: the Anglo-Saxons got there first!


All times are GMT -5. The time now is 08:22 AM.