public static void load(String translations, InputStream in) {
		try {
			Map<String, String> translationsMap = Lang.translations.computeIfAbsent(translations, l -> new HashMap<>());
			String string = IOUtil.toString(in, UTF_8);
			String[] lines = string.split("[\n\r]+");
			for (String line : lines) {
				// Skip comment lines
				if (line.startsWith("#")) {
					continue;
				}
				// Add each "key=value"
				if (line.contains("=")) {
					String[] parts = line.split("=", 2);
					String key = parts[0];
					String value = parts[1];
					translationsMap.put(key, value);
				}
			}
		} catch (Exception ex) {
			throw new IllegalStateException("Failed to fetch language from input stream", ex);
		}
	}
Load translations from {@link InputStream}.

@param translations
		Target translations identifier. The key for {@link #getTranslations()}.
@param in
       {@link InputStream} to load translations from.
recaf-ui/src/main/java/software/coley/recaf/util/Lang.java