java.lang.Object
plugily.projects.buildbattle.utils.services.locale.Locale

public class Locale
extends Object
Class for locales
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Gets name of locale, ex. English or German
      Returns:
      name of locale
    • getOriginalName

      public String getOriginalName()
      Gets original name of locale ex. for German it will return Deutsch, Polish returns Polski etc.
      Returns:
      name of locale in its language
    • getAuthor

      public String getAuthor()
      Returns:
      authors of locale
    • getPrefix

      public String getPrefix()
      Language code ex. en_GB, de_DE, pl_PL etc.
      Returns:
      language code of locale
    • getAliases

      public List<String> getAliases()
      Valid aliases of locale ex. for German - deutsch, de, german; Polish - polski, pl, polish etc.
      Returns:
      aliases for locale