This interface provides access to a set of Language objects.
Language
This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.
6263646566676869707172737475767778
return portletContext; } public ResourceBundle getResourceBundle(Locale locale) { LanguageSet languageSet = portletDefinition.getLanguageSet(); Language lang = languageSet.get(locale); if (lang == null) { Locale defaultLocale = languageSet.getDefaultLocale(); lang = languageSet.get(defaultLocale); } return lang.getResourceBundle(); }