Package org.apache.tapestry5.services

## Interface TranslatorAlternatesSource

- All Known Implementing Classes:
    `TranslatorAlternatesSourceImpl`

      @UsesMappedConfiguration(Translator.class)
      public interface TranslatorAlternatesSource

  This service is used by `TranslatorSource` to specify `Translator` alternates: translators that are used when specified explicitly by name. These translators may overlap the standard translators by type (thus requiring a separate configuration). Translators contributed to this configuration must have names that do not overlap the standard translators. Further, the contribution key must match the translator name.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Map<String,​Translator>` | `getTranslatorAlternates()` | Get the mapping from name to Translator, based on the contributions to the service.

- - ### Method Detail

    - #### getTranslatorAlternates

          Map<String,​Translator> getTranslatorAlternates()

      Get the mapping from name to Translator, based on the contributions to the service. It will be verified that the keys of the map corresponding to the names of the Translator values.