public static String translateValue(String value,String locale) throws Exception {
		if(debug)
		{
			System.out.println("TranslateValue:"+value);
			
			if(value.equals("Password"))
				return "密码";
			else if(value.equals("OK"))
				return "确认";
			else if(value.equals("okButton"))
				return "确认按钮";
			else if(value.equals("jLabel"))
				return "雷暴";
			else
				return "未翻译:"+value;
		}
		
		ArrayList<String> all = getAllTranslatedValue(value, locale);
		
		String translatedValue = "";
		for(String s : all)
			if((translatedValue=="" || translatedValue.length()>s.length())&&s.trim()!="")
				translatedValue=s;
		return translatedValue;
	}