Package io.camunda.optimize.service
Class LocalizationService
java.lang.Object
io.camunda.optimize.service.LocalizationService
- All Implemented Interfaces:
ConfigurationReloadable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getLocalizationFileBytes(String localeCode) getLocalizationForInstantPreviewDashboardCode(String localeCode, String dashboardCode) getLocalizationForInstantPreviewReportCode(String localeCode, String reportCode) getLocalizationForManagementDashboardCode(String localeCode, String dashboardCode) getLocalizationForManagementReportCode(String localeCode, String reportCode) getLocalizedXLabel(String validLocale, String xLabelKey) getLocalizedYLabel(String validLocale, String yLabel, ViewProperty view) voidreloadConfiguration(org.springframework.context.ApplicationContext context) validateAndReturnValidLocale(String locale)
-
Field Details
-
LOCALIZATION_PATH
- See Also:
-
REPORT_COUNT_KEY
- See Also:
-
REPORT_DURATION_KEY
- See Also:
-
-
Constructor Details
-
LocalizationService
-
-
Method Details
-
reloadConfiguration
public void reloadConfiguration(org.springframework.context.ApplicationContext context) - Specified by:
reloadConfigurationin interfaceConfigurationReloadable
-
getLocalizationFileBytes
-
getDefaultLocaleMessageForApiErrorCode
-
getDefaultLocaleMessageForMissingAssigneeLabel
-
getLocalizationForManagementDashboardCode
-
getLocalizationForInstantPreviewDashboardCode
-
getLocalizationForManagementReportCode
-
getLocalizationForInstantPreviewReportCode
-
getLocalizedXLabel
-
getLocalizedYLabel
-
validateAndReturnValidLocale
-