Since eclipse 3.4, multilingual packages are not officially provided. Although you can use the http://download.eclipse.org/technology/babel/update-site/ganymede/ to add updates, but do not know the eclipse itself what is the problem, often download to half will die, the query found that the file name is spelled wrong, leading to the entire update failure. There are too many jar files in the multi-language package, so after a long time, find a method for manual download.
Eclipse plug-in. Now we use the site. xml method to specify the jar files in the features and plugins directories... Start with site. xml.
Where does site. xml come from? Well... Enter the above HTTP address in the browser...
So, look at this file and pay attention to a bunch of items in <feature>... </feature>. If you want to use Chinese characters, find Zh. Note that zh_tw is not used. Download the corresponding JAR file according to url = and put it in the features directory. Jar can work out the feature. xml file. Similarly, this file contains a bunch of <plugin> items. Download the corresponding JAR file according to the URL and put it in the Plugins directory. The download is complete.
Finally, I put this Chinese package under the dropins of eclipse and used it as a plug-in. Note that you must delete site. XML from the package. Otherwise, it cannot be recognized.
The shell script automatically downloaded in Linux is as follows:
#! /Bin/bash </P> <p> site = 'cat site.txt '<br/> RM site. XML features/* plugins/* <br/> wget $ site-O site. XML <br/> grep "<feature" site. XML | grep "zh/" "| cut-d'" '-F2 | wget-Nv-T 120-T 10-P features-B $ site-I-<br/> for I in 'ls features /*. jar '<br/> DO <br/> jar XF $ I feature. XML <br/> grep "<plugin" feature. XML | cut-d' "'-- output-delimiter =" _ "-F4, 8 | awk' {print" plugins/"$1 ". jar "} '| wget-Nv-T 120-T 10-P plugins-B $ site-I-<br/> RM feature. XML <br/> done <br/>