Interface TemplateI18nHandler

All Known Implementing Classes:
DefaultTemplateI18nHandler

public interface TemplateI18nHandler
Handles i18n in PageTemplates.
Since:
5.2
  • Method Summary

    Modifier and Type
    Method
    Description
    translate(Message message)
    Translate a template i18n message to the correct String for the current site language.
  • Method Details

    • translate

      String translate(Message message)
      Translate a template i18n message to the correct String for the current site language.
      Parameters:
      message - a Message with key and optional arguments
      Returns:
      a translated String