Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
import org.joget.commons.util.ResourceBundleUtil; String label = ResourceBundleUtil.getMessage("general.method.label.ok");
public static org.springframework.context.ApplicationContext getApplicationContext()
public static java.lang.String getMessage(java.lang.String code)
Gets the i18n message based on code
public static java.lang.String getMessage(java.lang.String code, java.lang.Object[] args)
Gets the i18n message with arguments based on code
public static java.lang.String getMessage(java.lang.String code, java.lang.Object[] args, java.lang.String defaultMessage)
Gets the i18n message with arguments based on code
Return default message if i18n message not found
public static java.lang.String getMessage(java.lang.String code, java.lang.String defaultMessage)
Gets the i18n message based on code
Return default message if i18n message not found
public static java.lang.String getMessage(java.lang.String code, java.util.Locale locale)
Gets the i18n message based on code and locale
public static java.lang.String getMessage(java.lang.String code, java.lang.Object[] args, java.util.Locale locale)
Gets the i18n message with arguments based on code and locale
public static java.lang.String getMessage(java.lang.String code, java.lang.String defaultMessage, java.util.Locale locale)
Gets the i18n message based on code
Return default message if i18n message not found
public static java.lang.String getMessage(java.lang.String code, java.lang.Object[] args, java.lang.String defaultMessage, java.util.Locale locale)
Gets the i18n message with arguments based on code and locale
Return default message if i18n message not found
public static org.springframework.context.support.MessageSourceAccessor getMessageSource()
Gets the message source
public static org.joget.commons.spring.model.ResourceBundleMessageDao getResourceBundleMessageDao()
Method used by the system to get resource bundle message dao
public static org.springframework.context.ApplicationContext getSetupApplicationContext()
Utility method to retrieve the Setup ApplicationContext of the system
public static void POFileImport(org.springframework.web.multipart.MultipartFile multipartFile, java.lang.String locale) throws java.io.IOException
Method used to import message from PO file