Myeclipse7.1 Chinese Simplified tutorial

Source: Internet
Author: User

Today, I will explain how to Chinese-English myeclipse7.1. During the Chinese-English process, we need a Chinese-English package and an English version of myeclipse7.1 ,:Myeclipse7.x Chinese packageAndMyeclipse7.1 official English versionIn additionMyeclipse7.1 Java registration code

Video tutorial recorded by netizens myeclipse 7.1 installation and localization video tutorial we suggest watching the video after reading the graphic tutorial.

With the Chinese package, let's start to Chinese. We need to follow my steps.

1: overwrite the language folder in the downloaded Chinese package to the language folder in myeclipse7.1 you installed.

Someone in the QQ group said that the org. eclipse. equinox. simpleconfigurator/bundles.info file. The solution is to delete Org. eclipse. update directory, in order to ensure a successful localization, run createpluginsconfig. delete Org. eclipse. update directory.

2: copy the code in createpluginsconfig. Java in the compressed package as follows.

Import java. Io. file;
Import java. util. arraylist;
Import java. util. List;

/**
* Install plug-in code generator in myeclipse 7.1
* @ Author Administrator
*
*/
Public class createpluginsconfig {
Private string path;

Public createpluginsconfig (string path ){
This. Path = path;
}

Public void print (){
List list = getfilelist (PATH );
If (list = NULL ){
Return;
}

Int length = List. Size ();
For (INT I = 0; I <length; I ++ ){
String result = "";
String thepath = getformatpath (getstring (list. Get (I )));
File file = new file (thepath );
If (file. isdirectory ()){
String filename = file. getname ();
If (filename. indexof ("_") <0 ){
Continue;
}
String [] filenames = filename. Split ("_");
String filename1 = filenames [0];
String filename2 = filenames [1];
Result = filename1 + "," + filename2 + ", file:/" + path + "//"
+ Filename + "//, 4, false ";
System. Out. println (result );
} Else if (file. isfile ()){
String filename = file. getname ();
If (filename. indexof ("_") <0 ){
Continue;
}
String [] filenames = filename. Split ("_");
String filename1 = filenames [0] + "_" + filenames [1];
String filename2 = filenames [2]. substring (0, filenames [2]. lastindexof ("."));
Result = filename1 + "," + filename2 + ", file:/" + path + "//"
+ Filename + ", 4, false ";
System. Out. println (result );
}

}
}

Public list getfilelist (string path ){
Path = getformatpath (PATH );
Path = path + "/";
File filepath = new file (PATH );
If (! Filepath. isdirectory ()){
Return NULL;
}
String [] filelist = filepath. List ();
List filelistfilter = new arraylist ();

For (INT I = 0; I <filelist. length; I ++ ){
String tempfilename = getformatpath (path + filelist [I]);
Filelistfilter. Add (tempfilename );
}
Return filelistfilter;
}

Public String getstring (Object object ){
If (Object = NULL ){
Return "";
}
Return string. valueof (object );
}

Public String getformatpath (string path ){
Path = path. replaceall ("////","/");
Path = path. replaceall ("//","/");
Return path;
}

Public static void main (string [] ARGs ){

New createpluginsconfig ("E: // learnsoft // myeclipse // language // plugins"). Print (); // Plug-In Path
// ACCP tutorial network prompt: above E: // learnsoft // myeclipse // language // plugins is the path for your myeclipse Installation

}
}

Note that the above E: // learnsoft // myeclipse // language // plugins path should be changed to the path where myeclipse7.1 is installed on your computer, and the red path address should be replaced with yours, note that you need to add "/" to each "/". For example, if my installation path is E:/soft/ACCP, you must change it to E: // soft // ACCP.

3: Create a project, create a createpluginsconfig class in the project, copy the above Code, and remember to modify your plug-in path.

4: Run your createpluginsconfig class, and then output a large string of English in the console. In this case, copy all the English output from the console to/myeclipse7/configuration/org. Eclipse. Equinox. simpleconfigurator/bundles.info. use NotePad to open bundles.info and press enter in the last line. Paste the content in the console and save it. The myeclipse7 folder is your myeclipse7.1 running path. See figure 1.


Image 1

If your myeclipse running folder is not myeclipse7, you can see what your running path is and open the bundles.info file according to the above path. This is very important because there are two configuration folders, so if you are afraid of errors, please note the configuration in the myeclipse running folder.

5: Find the myeclipse. ini file under the myeclipse7 directory, and the file is located in Figure 1. Use NotePad to open the last line and add one more statement

-Duser. Language = ZH

6: Save and start myeclipse. Here you can see the Chinese interface and wish you success. Reprinted this article please indicate the source ACCP tutorial network, address: http://www.accptech.com/Sharing/s2/824.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.