Interface ODataLocalizationService

    • Method Detail

      • getLocaleForLanguage

        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"
        Parameters:
        isoCode - The isoCode used to search for an existing LanguageModel
        Returns:
        The locale
      • getSupportedLocales

        java.util.Locale[] getSupportedLocales()
        Looks up a all locales supported by this Commerce Suite installation.
        Returns:
        an array of locales. May return empty if no locales are supported. Will never return null.
      • getCommerceSuiteLocale

        java.util.Locale getCommerceSuiteLocale()
        Gets the locale of the Commerce Suite
        Returns:
        The locale