Package org.strassburger.lifestealz.util
Class LanguageManager
java.lang.Object
org.strassburger.lifestealz.util.LanguageManager
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
defaultLangs
-
-
Constructor Details
-
LanguageManager
-
-
Method Details
-
reload
public void reload() -
getString
Get a string from the language file- Parameters:
key
- The key to get the string for- Returns:
- The string from the language file
-
getString
Get a string from the language file with a fallback- Parameters:
key
- The key to get the string forfallback
- The fallback string- Returns:
- The string from the language file or the fallback
-