net.minecraft.client.resources

## Class Locale

- java.lang.Object
- - net.minecraft.client.resources.Locale

-     public class Locale
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Locale()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `formatMessage(String par1Str, Object[] par2ArrayOfObj)` Calls String.format(translateKey(key), params)
    `boolean` | `isUnicode()`
    `void` | `loadLocaleDataFiles(ResourceManager par1ResourceManager, List par2List)` par2 is a list of languages.
    `String` | `translateKey(String par1Str)` Returns the translation, or the key itself if the key could not be translated.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Locale

          public Locale()

  - ### Method Detail

    - #### 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()

    - #### 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)