Class I18nService


  • public class I18nService
    extends Object
    Provides internationalization facilities.
    Since:
    1.3.0
    • Constructor Detail

      • I18nService

        public I18nService()
    • Method Detail

      • getMessages

        public Response getMessages()
        Returns a JSON stream containing all translations contributed by extensions of com.sodius.oslc.server.i18n.messages. The language is determined by inspecting preferred locale on the servlet request and available translations on server side.
        Returns:
        a JSON stream containing all translations.