public static void loadLanguage(File file) {
		String dirName = file.getParentFile().getName();
		String fileName = file.getName();
		String language = fileName.replace(Util.getFileExtension(fileName), "").replace(".", "");
		if(!languages.containsKey(language)) {
			languages.put(language, new Language(language));
		}
		try {
			System.out.println("[LanguageManager] Loading language file: " + dirName + "/" + fileName);
			BufferedReader reader = new BufferedReader(new FileReader(file));
			String line = null;
			while((line = reader.readLine()) != null) {
				if(!line.startsWith("#") && line.contains("=")) {
					String[] split = line.split("=");
					if(split.length == 2) {
						setLocatization(language, split[0], split[1]);
					}
				}
			}
			reader.close();
		} catch(Exception e) {
			System.err.println("[LanguageManger] Error while reading language file (" + fileName + "): ");
			e.printStackTrace();
		}
	}