Class Locales


  • public final class Locales
    extends java.lang.Object
    The list of locales available in Vanilla Minecraft.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Locale AF_ZA  
      static java.util.Locale AR_SA  
      static java.util.Locale AST_ES  
      static java.util.Locale AZ_AZ  
      static java.util.Locale BG_BG  
      static java.util.Locale CA_ES  
      static java.util.Locale CS_CZ  
      static java.util.Locale CY_GB  
      static java.util.Locale DA_DK  
      static java.util.Locale DE_DE  
      static java.util.Locale DEFAULT
      The default locale used when the receiver's locale is unknown.
      static java.util.Locale EL_GR  
      static java.util.Locale EN_AU  
      static java.util.Locale EN_CA  
      static java.util.Locale EN_GB  
      static java.util.Locale EN_PT  
      static java.util.Locale EN_US  
      static java.util.Locale EO_UY  
      static java.util.Locale ES_AR  
      static java.util.Locale ES_ES  
      static java.util.Locale ES_MX  
      static java.util.Locale ES_UY  
      static java.util.Locale ES_VE  
      static java.util.Locale ET_EE  
      static java.util.Locale EU_ES  
      static java.util.Locale FA_IR  
      static java.util.Locale FI_FI  
      static java.util.Locale FIL_PH  
      static java.util.Locale FR_CA  
      static java.util.Locale FR_FR  
      static java.util.Locale GA_IE  
      static java.util.Locale GL_ES  
      static java.util.Locale GV_IM  
      static java.util.Locale HE_IL  
      static java.util.Locale HI_IN  
      static java.util.Locale HR_HR  
      static java.util.Locale HU_HU  
      static java.util.Locale HY_AM  
      static java.util.Locale ID_ID  
      static java.util.Locale IS_IS  
      static java.util.Locale IT_IT  
      static java.util.Locale JA_JP  
      static java.util.Locale KA_GE  
      static java.util.Locale KO_KR  
      static java.util.Locale KW_GB  
      static java.util.Locale LA_LA  
      static java.util.Locale LB_LU  
      static java.util.Locale LT_LT  
      static java.util.Locale LV_LV  
      static java.util.Locale MI_NZ  
      static java.util.Locale MS_MY  
      static java.util.Locale MT_MT  
      static java.util.Locale NDS_DE  
      static java.util.Locale NL_NL  
      static java.util.Locale NN_NO  
      static java.util.Locale NO_NO  
      static java.util.Locale OC_FR  
      static java.util.Locale PL_PL  
      static java.util.Locale PT_BR  
      static java.util.Locale PT_PT  
      static java.util.Locale QYA_AA  
      static java.util.Locale RO_RO  
      static java.util.Locale RU_RU  
      static java.util.Locale SE_NO  
      static java.util.Locale SK_SK  
      static java.util.Locale SL_SI  
      static java.util.Locale SR_SP  
      static java.util.Locale SV_SE  
      static java.util.Locale TH_TH  
      static java.util.Locale TLH_AA  
      static java.util.Locale TR_TR  
      static java.util.Locale UK_UA  
      static java.util.Locale VAL_ES  
      static java.util.Locale VI_VN  
      static java.util.Locale ZH_CN  
      static java.util.Locale ZH_TW  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Locale of​(java.lang.String locale)
      Gets a locale for the specified locale code, e.g.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • AF_ZA

        public static final java.util.Locale AF_ZA
      • AR_SA

        public static final java.util.Locale AR_SA
      • AST_ES

        public static final java.util.Locale AST_ES
      • AZ_AZ

        public static final java.util.Locale AZ_AZ
      • BG_BG

        public static final java.util.Locale BG_BG
      • CA_ES

        public static final java.util.Locale CA_ES
      • CS_CZ

        public static final java.util.Locale CS_CZ
      • CY_GB

        public static final java.util.Locale CY_GB
      • DA_DK

        public static final java.util.Locale DA_DK
      • DE_DE

        public static final java.util.Locale DE_DE
      • EL_GR

        public static final java.util.Locale EL_GR
      • EN_AU

        public static final java.util.Locale EN_AU
      • EN_CA

        public static final java.util.Locale EN_CA
      • EN_GB

        public static final java.util.Locale EN_GB
      • EN_PT

        public static final java.util.Locale EN_PT
      • EN_US

        public static final java.util.Locale EN_US
      • EO_UY

        public static final java.util.Locale EO_UY
      • ES_AR

        public static final java.util.Locale ES_AR
      • ES_ES

        public static final java.util.Locale ES_ES
      • ES_MX

        public static final java.util.Locale ES_MX
      • ES_UY

        public static final java.util.Locale ES_UY
      • ES_VE

        public static final java.util.Locale ES_VE
      • ET_EE

        public static final java.util.Locale ET_EE
      • EU_ES

        public static final java.util.Locale EU_ES
      • FA_IR

        public static final java.util.Locale FA_IR
      • FI_FI

        public static final java.util.Locale FI_FI
      • FIL_PH

        public static final java.util.Locale FIL_PH
      • FR_CA

        public static final java.util.Locale FR_CA
      • FR_FR

        public static final java.util.Locale FR_FR
      • GA_IE

        public static final java.util.Locale GA_IE
      • GL_ES

        public static final java.util.Locale GL_ES
      • GV_IM

        public static final java.util.Locale GV_IM
      • HE_IL

        public static final java.util.Locale HE_IL
      • HI_IN

        public static final java.util.Locale HI_IN
      • HR_HR

        public static final java.util.Locale HR_HR
      • HU_HU

        public static final java.util.Locale HU_HU
      • HY_AM

        public static final java.util.Locale HY_AM
      • ID_ID

        public static final java.util.Locale ID_ID
      • IS_IS

        public static final java.util.Locale IS_IS
      • IT_IT

        public static final java.util.Locale IT_IT
      • JA_JP

        public static final java.util.Locale JA_JP
      • KA_GE

        public static final java.util.Locale KA_GE
      • KO_KR

        public static final java.util.Locale KO_KR
      • KW_GB

        public static final java.util.Locale KW_GB
      • LA_LA

        public static final java.util.Locale LA_LA
      • LB_LU

        public static final java.util.Locale LB_LU
      • LT_LT

        public static final java.util.Locale LT_LT
      • LV_LV

        public static final java.util.Locale LV_LV
      • MI_NZ

        public static final java.util.Locale MI_NZ
      • MS_MY

        public static final java.util.Locale MS_MY
      • MT_MT

        public static final java.util.Locale MT_MT
      • NDS_DE

        public static final java.util.Locale NDS_DE
      • NL_NL

        public static final java.util.Locale NL_NL
      • NN_NO

        public static final java.util.Locale NN_NO
      • NO_NO

        public static final java.util.Locale NO_NO
      • OC_FR

        public static final java.util.Locale OC_FR
      • PL_PL

        public static final java.util.Locale PL_PL
      • PT_BR

        public static final java.util.Locale PT_BR
      • PT_PT

        public static final java.util.Locale PT_PT
      • QYA_AA

        public static final java.util.Locale QYA_AA
      • RO_RO

        public static final java.util.Locale RO_RO
      • RU_RU

        public static final java.util.Locale RU_RU
      • SE_NO

        public static final java.util.Locale SE_NO
      • SK_SK

        public static final java.util.Locale SK_SK
      • SL_SI

        public static final java.util.Locale SL_SI
      • SR_SP

        public static final java.util.Locale SR_SP
      • SV_SE

        public static final java.util.Locale SV_SE
      • TH_TH

        public static final java.util.Locale TH_TH
      • TLH_AA

        public static final java.util.Locale TLH_AA
      • TR_TR

        public static final java.util.Locale TR_TR
      • UK_UA

        public static final java.util.Locale UK_UA
      • VAL_ES

        public static final java.util.Locale VAL_ES
      • VI_VN

        public static final java.util.Locale VI_VN
      • ZH_CN

        public static final java.util.Locale ZH_CN
      • ZH_TW

        public static final java.util.Locale ZH_TW
      • DEFAULT

        public static final java.util.Locale DEFAULT
        The default locale used when the receiver's locale is unknown.
    • Method Detail

      • of

        public static java.util.Locale of​(java.lang.String locale)
        Gets a locale for the specified locale code, e.g. en_US.
        Parameters:
        locale - The locale to lookup (e.g. en_US.
        Returns:
        The locale