public void copyLanguageFiles() {
		File langFolder = new File(plugin.getDataFolder() + "/lang/");
		if (!langFolder.exists())
			langFolder.mkdirs();

		try {
			JarFile jarFile = new JarFile(plugin.getClass()
					.getProtectionDomain().getCodeSource().getLocation()
					.toURI().getPath());

			for (Enumeration<JarEntry> em = jarFile.entries(); em
					.hasMoreElements();) {
				String s = em.nextElement().toString();

				if (s.startsWith("lang/")) {
					ZipEntry entry = jarFile.getEntry(s);

					String fileName = s.substring(s.lastIndexOf("/") + 1,
							s.length());

					if (fileName.endsWith(".yml")) {

						File eFile = new File(plugin.getDataFolder() + "/lang/"
								+ fileName);
						if (eFile.exists())
							continue;

						InputStream inStream = jarFile.getInputStream(entry);
						OutputStream out = new FileOutputStream(
								plugin.getDataFolder() + "/lang/" + fileName);

						int c;

						while ((c = inStream.read()) != -1) {
							out.write(c);
						}
						eFile.setWritable(true);
						inStream.close();
						out.close();

					}
				}
			}
			jarFile.close();

		} catch (Exception e) {
			e.printStackTrace();
			Log.warning("Unable to copy language files");
		}

	}