private Preferences init() {
	try {
	    List<String> langs = Utils.getResourceListing(Preferences.class.getClassLoader(), "/lang/");
	    langs.remove("/langs/languages.json");
	    if(!langs.contains("/lang/" + language + ".json")) {
		String last = this.language;
		for(String lang : langs)
		    if(lang.startsWith("/lang/" + language + "_")) {
			language = lang.substring(6);
			break;
		    }
		if(!langs.contains("/lang/" + language + ".json"))
		    language = new Preferences().language;
		System.out.println(last + " -> " + language);
	    }
	} catch (Exception e) {
	    e.printStackTrace();
	}
	return this;
    }