Class Locale

java.lang.Object
net.minecraft.src.Locale

public class Locale extends Object
  • Constructor Details

    • Locale

      public Locale()
  • Method Details

    • loadLocaleDataFiles

      public void loadLocaleDataFiles(ResourceManager par1ResourceManager, List par2List)
      par2 is a list of languages. For each language $L and domain $D, attempts to load the resource $D:lang/$L.lang
    • isUnicode

      public boolean isUnicode()
    • loadLocaleData

      public void loadLocaleData(List par1List) throws IOException
      par1 is a list of Resources
      Throws:
      IOException
    • translateKey

      public String translateKey(String par1Str)
      Returns the translation, or the key itself if the key could not be translated.
    • formatMessage

      public String formatMessage(String par1Str, Object[] par2ArrayOfObj)
      Calls String.format(translateKey(key), params)