LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-13-2012, 12:43 PM   #1
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
language settings


hi

Is there a method of making the shell understanding others languages just like a desktop can or is it english only ???
 
Old 10-14-2012, 07:14 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
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?

Last edited by Didier Spaier; 10-14-2012 at 07:17 AM.
 
Old 10-31-2012, 05:14 AM   #3
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352

Original Poster
Blog Entries: 16

Rep: Reputation: 51
IF it can understand french , spanish , greek, hindi, chinese , japanese,......
 
Old 10-31-2012, 08:21 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
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?

Last edited by Didier Spaier; 10-31-2012 at 06:26 PM.
 
Old 11-08-2012, 10:45 AM   #5
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352

Original Poster
Blog Entries: 16

Rep: Reputation: 51
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.
 
Old 11-08-2012, 02:23 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
Don't know whether this will help:

http://docs.slackware.com/slackware:localization
 
Old 11-09-2012, 11:57 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,131

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Language Settings in Fedora 9 shreks Fedora 0 06-17-2008 12:25 AM
Mepis language settings cosm MEPIS 1 11-01-2006 10:26 AM
Is there any way to change the Language settings? Arpad Linux - Newbie 1 03-04-2004 04:05 PM
Confusing language settings powadha Slackware 0 12-17-2003 11:39 AM
Language settings in GNOME Aldebaran Linux - Newbie 4 08-16-2003 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration