Uses of Class
com.jk.core.locale.JKLocale
Packages that use JKLocale
-
Uses of JKLocale in com.jk.core.locale
Fields in com.jk.core.locale declared as JKLocaleModifier and TypeFieldDescriptionstatic final JKLocale
JKLocale.ARABIC
Represents the Arabic locale.static final JKLocale
JKLocale.ENGLISH
Represents the English locale.Methods in com.jk.core.locale that return JKLocaleModifier and TypeMethodDescriptionstatic JKLocale
JKLocale.getDefaultLocale()
This method gets the default locale.static JKLocale
JKLocale.valueOf
(int languageId) This method return the locale that corresponds to the specified language identifier (ID).static JKLocale
This method returns the locale that corresponds to the specified language short name.Methods in com.jk.core.locale with parameters of type JKLocaleModifier and TypeMethodDescriptionvoid
This method adds labels according to the locale specified and the file name provided.void
JKMessage.addLables
(JKLocale locale, Properties lables) This method adds the labels using the provided locale and properties.This method retrieves a localized label or message by its key, with optional parameter formatting.This method gets the label property value that is linked with the specified locale in the labels map.static void
JKLocale.setDefaultLocale
(JKLocale defaultLocale) This method sets this locale default locale.protected void
JKMessage.setProperty
(JKLocale locale, String propName, String value) This method replaces the value linked with the specified properties key in the labels map to the provided value, while considering the provided locale. -
Uses of JKLocale in com.jk.core.util
Fields in com.jk.core.util declared as JKLocaleModifier and TypeFieldDescriptionstatic JKLocale
Represents the default locale used for various operations in the application.Methods in com.jk.core.util with parameters of type JKLocaleModifier and TypeMethodDescriptionstatic void
JK.setDefaultLocale
(JKLocale locale) This method sets the default locale to the provided locale.