百度手机助手下载安装,常州抖音seo,网页布局照着别的网站做会侵权吗,设计风格网站JSP中文学习网独家发布 www.jsphelp.com 此汉化包是由 MyEclipse 7.1 汉化包修改
方法一(推荐!)1.把你下载的汉化插件#xff08;比如#xff1a;MyEclipse 7.5正式版(09-6-17)汉化插件.rar#xff0c;网上搜一搜或者去JSP中文学习网下载http://www.accptech.com/learnso…JSP中文学习网独家发布 www.jsphelp.com 此汉化包是由 MyEclipse 7.1 汉化包修改
方法一(推荐!)1.把你下载的汉化插件比如MyEclipse 7.5正式版(09-6-17)汉化插件.rar网上搜一搜或者去JSP中文学习网下载http://www.accptech.com/learnsoft/958.html解压将language文件夹放到你的MyEclipse文件夹下,默认安装位置 C:/Program Files/Genuitec/MyEclipse 7.5。如果修改了安装位置则放到相应的MyEclipse 7.5文件的路径下!2.新建java工程,新建 CreatePluginsConfig 类,将插件代码生成器的代码(汉化插件里有一个Java的类文件复制里面的代码即可或者我贴出来
import java.io.File;import java.util.ArrayList;import java.util.List;public class CreatePluginsConfig { public CreatePluginsConfig() { } public void print(String path) { 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) { print(thePath); 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; } int last fileName.lastIndexOf(_);// 最后一个下划线的位置 String filename1 fileName.substring(0, last); String filename2 fileName.substring(last 1, fileName .length() - 4); 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) { // 插件文件所在目录designer下的目录结构是eclipse/features and plugins的形式 String plugin C://Program Files//Genuitec//MyEclipse 7.5//language//plugins; new CreatePluginsConfig().print(plugin); }}
粘贴到里面。3.如果你MyEclipse安装时修改了默认的安装位置需要修改代码里面的汉化包language的位置(代码中红色部分)C://Program Files//Genuitec//MyEclipse 7.5//language//plugins 修改成你language所在的路径替换main函数的原先的事例路径.注意粘贴后,要将你的路径的单个/全部改为//或者/。4.运行你的代码5.将产生的结果就是控制台里产生的代码,复制到你的安装文件的MyEclipse 7.5文件夹下的configuration/org.eclipse.equinox.simpleconfigurator/bundles.info(用记事本打开)文件尾部即可。6.找到myeclipse 7.5的目录下找到myeclipse.ini 用编辑器打开后在最后加上一行 -Duser.languagezh 保存
结束
然后在命令提示符中使用 myeclipse.exe -clean 重启或者关闭MyEclipse在打开即可使用中文版 方法二(懒人专用)1.默认安装MyEclipse 7.5后将此包中的language文件夹放到你的MyEclipse7.5文件夹下然后复制一下如下(显示红色)代码到configuration/org.eclipse.equinox.simpleconfigurator/bundles.info文件尾部然后找到myeclipse7的目录下找到myeclipse.ini 用编辑器打开后在最后加上一行 -Duser.languagezh 保存。 由于博客字数限制此处未贴出代码需要的朋友在MyEclipse 7.5正式版(09-6-17)汉化插件.rar解压后的安装说明文件里有
备注本文只供学习交流之用