public class DefaultODataLocalizationService extends java.lang.Object implements ODataLocalizationService
ODataLocalizationService| Constructor and Description |
|---|
DefaultODataLocalizationService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
getCommerceSuiteLocale()
Gets the locale of the Commerce Suite
|
protected CommonI18NService |
getCommonI18NService() |
java.util.Locale |
getLocaleForLanguage(java.lang.String isoCode)
Looks up a locale supported by the Commerce Suite by the standard ISO code, i.e "en"
|
java.util.Locale[] |
getSupportedLocales()
Looks up a all locales supported by this Commerce Suite installation.
|
void |
setCommonI18NService(CommonI18NService commonI18NService) |
public java.util.Locale getLocaleForLanguage(java.lang.String isoCode)
ODataLocalizationServicegetLocaleForLanguage in interface ODataLocalizationServiceisoCode - The isoCode used to search for an existing LanguageModelpublic java.util.Locale[] getSupportedLocales()
ODataLocalizationServicegetSupportedLocales in interface ODataLocalizationServicepublic java.util.Locale getCommerceSuiteLocale()
ODataLocalizationServicegetCommerceSuiteLocale in interface ODataLocalizationServiceprotected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2018 SAP SE. All Rights Reserved.