Interface LocalizationServiceLocal

    • Method Detail

      • getCountryCodes

        List<String> getCountryCodes()
        Returns all accepted 2-letter iso country codes
      • getCountryName

        String getCountryName​(String code)
        Returns the country name translated to the current locale according to the ISO country code passed.
      • getDefaultCountryForLanguage

        String getDefaultCountryForLanguage​(String language)
        Returns the default country code for a given language code, if any
      • getLocalizationData

        LocalizationData getLocalizationData​(String selectedCountryCode,
                                             String selectedTimeZoneId)
        Returns data for editing a country / time zone combination
      • listCountryCodes

        List<String> listCountryCodes()
        Returns a list of country codes
      • listTimeZoneIds

        List<String> listTimeZoneIds()
        Returns a list of time zone ids
      • listTimeZoneIdsForCountry

        List<String> listTimeZoneIdsForCountry​(String countryCode)
        Returns a list of time zone ids