/** * Gets the localized options for an entity * * @param locale * @return */ public static List<TSystemStateBean> getStatusOptions(Integer entityFlag, Locale locale) { List<TSystemStateBean> statusOptions = LookupContainer.getSystemStateList(entityFlag); if (statusOptions != null) { for (TSystemStateBean systemStateBean : statusOptions) { systemStateBean.setLabel( LocalizeUtil.localizeSystemStateEntry(systemStateBean, entityFlag, locale)); } } return statusOptions; }