Interface LocalizationService

All Known Implementing Classes:
BukkitLocalizationService

public interface LocalizationService
  • Method Details

    • getString

      String getString(String key)
      Get a string from the language file
      Parameters:
      key - The key to get the string for
      Returns:
      The string from the language file
    • getString

      String getString(String key, String fallback)
      Get a string from the language file with a fallback
      Parameters:
      key - The key to get the string for
      fallback - The fallback string
      Returns:
      The string from the language file or the fallback
    • getStringList

      List<String> getStringList(String key)
      Get a list of strings from the language file
      Parameters:
      key - The key to get the list of strings for
      Returns:
      The list of strings from the language file