public String[] getSupportedLanguages() {
		try {
			File file = new File("translations");
			java.net.URL[] url = { file.toURI().toURL() };
			ClassLoader loader = new URLClassLoader(url);
			ResourceBundle resource = ResourceBundle.getBundle(
					"UserPreferences", Locale.getDefault(), loader);

			String[] displayLanguages = resource
					.getString("supportedLanguages").split("\\s");
			return displayLanguages;
		} catch (MalformedURLException e) {
			return null;
		}
	}