Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Search Forums:



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-10-2010
Registered User
 

Join Date: Oct 2008
Location: New Delhi, India
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
convert english to chinese

Hi Experts,

Can anyone help me to convert a english input into chinese in a bash script. help would be highly appreciable.

thanks,
Deepak
Sponsored Links
    #2  
Old 09-10-2010
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 

Join Date: Sep 2007
Location: Germany
Posts: 5,193
Thanks: 47
Thanked 280 Times in 267 Posts
I doubt this is something for a shell script at all - maybe you are lucky and there is some kind of Perl module available.
Sponsored Links
    #3  
Old 09-10-2010
Registered User
 

Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
i have the same problem, but here i am trying to monitor a chinese webpage on nagios via webinject plugin, and trying to input the chinese characters in order to match the string on the linux box and its a prod environment (Condition: Cannot reboot the server at all)

And its about entering 4 characters in chinese on the linux box and m all done. lemme know if i can do something to get this done.
    #4  
Old 09-10-2010
durden_tyler's Avatar
Registered User
 

Join Date: Apr 2009
Posts: 1,684
Thanks: 4
Thanked 209 Times in 189 Posts
Quote:
Originally Posted by naw_deepak View Post
...
Can anyone help me to convert a english input into chinese ...
If, by "convert", you mean "translate input from English to Chinese", then you could use Java. Google has a lightweight client API at its website.

google-api-translate-java - Project Hosting on Google Code

Perl is also an option as zaxxon suggests. Search the CPAN website; seems like they have a couple of modules for that.

tyler_durden
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to convert English text file to ASCII File? laknar Shell Programming and Scripting 1 07-23-2008 09:37 AM
Learn typing in Chinese Xcislav UNIX and Linux Applications 3 06-23-2008 06:12 AM
chinese problem jack_ty_chan UNIX for Dummies Questions & Answers 0 06-21-2006 11:31 PM
lex for Chinese character suman_jakkula Linux 0 03-16-2006 01:23 AM
Chinese characters on Sol 2.7 Hayez Solaris 1 01-30-2006 12:34 AM



All times are GMT -4. The time now is 04:15 AM.